Fix the windows build

This commit is contained in:
David Sansome 2011-01-02 18:33:31 +00:00
parent 7e2ac2a22d
commit 45caf3b6f4
1 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@ MainWindow::MainWindow(QWidget* parent)
#if (defined(Q_OS_DARWIN) && defined(HAVE_SPARKLE)) || defined(Q_OS_WIN32) #if (defined(Q_OS_DARWIN) && defined(HAVE_SPARKLE)) || defined(Q_OS_WIN32)
// Add check for updates item to application menu. // Add check for updates item to application menu.
QAction* check_updates = ui_->menuTools->addAction(tr("Check for updates...")); QAction* check_updates = ui_->menu_tools->addAction(tr("Check for updates..."));
check_updates->setMenuRole(QAction::ApplicationSpecificRole); check_updates->setMenuRole(QAction::ApplicationSpecificRole);
connect(check_updates, SIGNAL(triggered(bool)), SLOT(CheckForUpdates())); connect(check_updates, SIGNAL(triggered(bool)), SLOT(CheckForUpdates()));
#endif #endif