1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-01 03:40:16 +02:00
This commit is contained in:
Frank Osterfeld
2011-03-30 18:23:53 +02:00
parent b6d6969281
commit a05795bf6b

View File

@@ -147,7 +147,7 @@ TomahawkWindow::TomahawkWindow( QWidget* parent )
toolbar->installEventFilter( new WidgetDragFilter( toolbar ) ); toolbar->installEventFilter( new WidgetDragFilter( toolbar ) );
#if defined( Q_OS_DARWIN ) && defined( HAVE_SPARKLE ) #if defined( Q_OS_DARWIN ) && defined( HAVE_SPARKLE )
QAction* checkForUpdates = ui->menu_Help->addAction( tr( "Check for updates...") ); QAction* checkForUpdates = ui->menu_Help->addAction( tr( "Check For Updates...") );
checkForUpdates->setMenuRole( QAction::ApplicationSpecificRole ); checkForUpdates->setMenuRole( QAction::ApplicationSpecificRole );
connect(checkForUpdates, SIGNAL( triggered( bool ) ), SLOT( checkForUpdates() ) ); connect(checkForUpdates, SIGNAL( triggered( bool ) ), SLOT( checkForUpdates() ) );
#elif defined( WIN32 ) #elif defined( WIN32 )
@@ -163,7 +163,7 @@ TomahawkWindow::TomahawkWindow( QWidget* parent )
updater->SetVersion( VERSION ); updater->SetVersion( VERSION );
ui->menu_Help->addSeparator(); ui->menu_Help->addSeparator();
QAction* checkForUpdates = ui->menu_Help->addAction( tr( "Check for updates...") ); QAction* checkForUpdates = ui->menu_Help->addAction( tr( "Check For Updates...") );
connect( checkForUpdates, SIGNAL( triggered() ), updater, SLOT( CheckNow() ) ); connect( checkForUpdates, SIGNAL( triggered() ), updater, SLOT( CheckNow() ) );
#endif #endif