mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 00:54:20 +02:00
* Try to fix dupe Tomahawk menu on OSX.
This commit is contained in:
@@ -88,6 +88,10 @@ TomahawkWindow::TomahawkWindow( QWidget* parent )
|
|||||||
connect( vm, SIGNAL( hideQueueRequested() ), SLOT( hideQueue() ) );
|
connect( vm, SIGNAL( hideQueueRequested() ), SLOT( hideQueue() ) );
|
||||||
|
|
||||||
ui->setupUi( this );
|
ui->setupUi( this );
|
||||||
|
|
||||||
|
ui->menuApp->insertAction( ui->actionCreatePlaylist, ActionCollection::instance()->getAction( "togglePrivacy" ) );
|
||||||
|
ui->menuApp->insertSeparator( ui->actionCreatePlaylist );
|
||||||
|
|
||||||
applyPlatformTweaks();
|
applyPlatformTweaks();
|
||||||
|
|
||||||
ui->centralWidget->setContentsMargins( 0, 0, 0, 0 );
|
ui->centralWidget->setContentsMargins( 0, 0, 0, 0 );
|
||||||
@@ -106,9 +110,6 @@ TomahawkWindow::TomahawkWindow( QWidget* parent )
|
|||||||
ui->menu_Help->addAction( "Crash now...", this, SLOT( crashNow() ) );
|
ui->menu_Help->addAction( "Crash now...", this, SLOT( crashNow() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
ui->menuApp->insertAction( ui->actionCreatePlaylist, ActionCollection::instance()->getAction( "togglePrivacy" ) );
|
|
||||||
ui->menuApp->insertSeparator( ui->actionCreatePlaylist );
|
|
||||||
|
|
||||||
// set initial state
|
// set initial state
|
||||||
onSipDisconnected();
|
onSipDisconnected();
|
||||||
vm->setQueue( m_queueView );
|
vm->setQueue( m_queueView );
|
||||||
|
Reference in New Issue
Block a user