mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Made sure we don't duplicate connections in WelcomeWidget.
This commit is contained in:
@@ -153,8 +153,8 @@ WelcomeWidget::updatePlaylists()
|
|||||||
void
|
void
|
||||||
WelcomeWidget::onSourceAdded( const Tomahawk::source_ptr& source )
|
WelcomeWidget::onSourceAdded( const Tomahawk::source_ptr& source )
|
||||||
{
|
{
|
||||||
connect( source->collection().data(), SIGNAL( changed() ), SLOT( updateRecentAdditions() ) );
|
connect( source->collection().data(), SIGNAL( changed() ), SLOT( updateRecentAdditions() ), Qt::UniqueConnection );
|
||||||
connect( source.data(), SIGNAL( playbackFinished( Tomahawk::query_ptr ) ), SLOT( onPlaybackFinished( Tomahawk::query_ptr ) ) );
|
connect( source.data(), SIGNAL( playbackFinished( Tomahawk::query_ptr ) ), SLOT( onPlaybackFinished( Tomahawk::query_ptr ) ), Qt::UniqueConnection );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user