From eec1e56dda1c71e5f9017345ec835e6f6dca6598 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 1 Dec 2011 15:34:24 +0100 Subject: [PATCH] * Try to fix dupe Tomahawk menu on OSX. --- src/tomahawkwindow.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/tomahawkwindow.cpp b/src/tomahawkwindow.cpp index 9d61acbb3..6a6e880da 100644 --- a/src/tomahawkwindow.cpp +++ b/src/tomahawkwindow.cpp @@ -88,6 +88,10 @@ TomahawkWindow::TomahawkWindow( QWidget* parent ) connect( vm, SIGNAL( hideQueueRequested() ), SLOT( hideQueue() ) ); ui->setupUi( this ); + + ui->menuApp->insertAction( ui->actionCreatePlaylist, ActionCollection::instance()->getAction( "togglePrivacy" ) ); + ui->menuApp->insertSeparator( ui->actionCreatePlaylist ); + applyPlatformTweaks(); 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->menuApp->insertAction( ui->actionCreatePlaylist, ActionCollection::instance()->getAction( "togglePrivacy" ) ); - ui->menuApp->insertSeparator( ui->actionCreatePlaylist ); - // set initial state onSipDisconnected(); vm->setQueue( m_queueView );