From 2c9fefebebed8ab0b3a42378f595a14bfdc5e6ce Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Thu, 26 Jun 2014 01:11:53 +0100 Subject: [PATCH] Fix TWK-1573 --- src/libtomahawk/playlist/PlaylistModel.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/playlist/PlaylistModel.cpp b/src/libtomahawk/playlist/PlaylistModel.cpp index a75b5c2bb..98a29e707 100644 --- a/src/libtomahawk/playlist/PlaylistModel.cpp +++ b/src/libtomahawk/playlist/PlaylistModel.cpp @@ -306,7 +306,11 @@ PlaylistModel::insertEntries( const QList< Tomahawk::plentry_ptr >& entries, int { queries << entry->query(); d->waitingForResolved.append( entry->query().data() ); - connect( entry->query().data(), SIGNAL( resolvingFinished( bool ) ), SLOT( trackResolved( bool ) ) ); + connect( entry->query().data(), SIGNAL( playableStateChanged( bool ) ), + SLOT( onQueryBecamePlayable( bool ) ), + Qt::UniqueConnection ); + connect( entry->query().data(), SIGNAL( resolvingFinished( bool ) ), + SLOT( trackResolved( bool ) ) ); } connect( plitem, SIGNAL( dataChanged() ), SLOT( onDataChanged() ) );