mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
Yikes, how did I write these two lines in the wrong file. So tired.
This commit is contained in:
@@ -68,9 +68,6 @@ SourceDelegate::SourceDelegate( QAbstractItemView* parent )
|
|||||||
m_headphonesOn.load( RESPATH "images/headphones-sidebar.png" );
|
m_headphonesOn.load( RESPATH "images/headphones-sidebar.png" );
|
||||||
m_nowPlayingSpeaker.load( RESPATH "images/now-playing-speaker.png" );
|
m_nowPlayingSpeaker.load( RESPATH "images/now-playing-speaker.png" );
|
||||||
m_nowPlayingSpeakerDark.load( RESPATH "images/now-playing-speaker-dark.png" );
|
m_nowPlayingSpeakerDark.load( RESPATH "images/now-playing-speaker-dark.png" );
|
||||||
|
|
||||||
QAction *privacyToggle = ActionCollection::instance()->getAction( "togglePrivacy" );
|
|
||||||
connect( privacyToggle, SIGNAL( triggered( bool ) ), qobject_cast< QWidget* >( this ), SLOT( repaint() ) );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -114,6 +114,9 @@ SourceTreeView::SourceTreeView( QWidget* parent )
|
|||||||
connect( this, SIGNAL( latchRequest( Tomahawk::source_ptr ) ), m_latchManager, SLOT( latchRequest( Tomahawk::source_ptr ) ) );
|
connect( this, SIGNAL( latchRequest( Tomahawk::source_ptr ) ), m_latchManager, SLOT( latchRequest( Tomahawk::source_ptr ) ) );
|
||||||
connect( this, SIGNAL( unlatchRequest( Tomahawk::source_ptr ) ), m_latchManager, SLOT( unlatchRequest( Tomahawk::source_ptr ) ) );
|
connect( this, SIGNAL( unlatchRequest( Tomahawk::source_ptr ) ), m_latchManager, SLOT( unlatchRequest( Tomahawk::source_ptr ) ) );
|
||||||
connect( this, SIGNAL( catchUpRequest() ), m_latchManager, SLOT( catchUpRequest() ) );
|
connect( this, SIGNAL( catchUpRequest() ), m_latchManager, SLOT( catchUpRequest() ) );
|
||||||
|
|
||||||
|
QAction *privacyToggle = ActionCollection::instance()->getAction( "togglePrivacy" );
|
||||||
|
connect( privacyToggle, SIGNAL( triggered( bool ) ), SLOT( repaint() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user