mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-25 02:09:48 +01:00
* Init AudioControls after ViewManager.
This commit is contained in:
parent
8b42dfcc7a
commit
c92ce9d8a5
@ -107,7 +107,6 @@ TomahawkWindow::TomahawkWindow( QWidget* parent )
|
||||
#endif
|
||||
, ui( new Ui::TomahawkWindow )
|
||||
, m_searchWidget( 0 )
|
||||
, m_audioControls( new AudioControls( this ) )
|
||||
, m_trayIcon( new TomahawkTrayIcon( this ) )
|
||||
, m_settingsDialog( 0 )
|
||||
, m_audioRetryCounter( 0 )
|
||||
@ -115,6 +114,8 @@ TomahawkWindow::TomahawkWindow( QWidget* parent )
|
||||
setWindowIcon( QIcon( RESPATH "icons/tomahawk-icon-128x128.png" ) );
|
||||
|
||||
ViewManager* vm = new ViewManager( this );
|
||||
m_audioControls = new AudioControls( this );
|
||||
|
||||
connect( vm, SIGNAL( showQueueRequested() ), SLOT( showQueue() ) );
|
||||
connect( vm, SIGNAL( hideQueueRequested() ), SLOT( hideQueue() ) );
|
||||
connect( APP, SIGNAL( tomahawkLoaded() ), vm, SLOT( setTomahawkLoaded() ) ); // Pass loaded signal into libtomahawk so components in there can connect to ViewManager
|
||||
|
Loading…
x
Reference in New Issue
Block a user