mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 06:07:37 +02:00
cleanup
This commit is contained in:
@@ -559,9 +559,6 @@ PlaylistManager::setPage( ViewPage* page, bool trackHistory )
|
|||||||
// if the signal exists (just to hide the qobject runtime warning...)
|
// if the signal exists (just to hide the qobject runtime warning...)
|
||||||
if( obj->metaObject()->indexOfSignal( "descriptionChanged(QString)" ) > -1 )
|
if( obj->metaObject()->indexOfSignal( "descriptionChanged(QString)" ) > -1 )
|
||||||
connect( obj, SIGNAL( descriptionChanged( QString ) ), m_infobar, SLOT( setDescription( QString ) ) );
|
connect( obj, SIGNAL( descriptionChanged( QString ) ), m_infobar, SLOT( setDescription( QString ) ) );
|
||||||
|
|
||||||
if( obj->metaObject()->indexOfSignal( "deleted()" ) > -1 )
|
|
||||||
connect( obj, SIGNAL( deleted() ), this, SLOT( pageDeleted() ) );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
m_stack->setCurrentWidget( page->widget() );
|
m_stack->setCurrentWidget( page->widget() );
|
||||||
|
Reference in New Issue
Block a user