diff options
Diffstat (limited to 'src/library/rhythmbox/rhythmboxfeature.cpp')
-rw-r--r-- | src/library/rhythmbox/rhythmboxfeature.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/library/rhythmbox/rhythmboxfeature.cpp b/src/library/rhythmbox/rhythmboxfeature.cpp index b50e759304..8e482175f8 100644 --- a/src/library/rhythmbox/rhythmboxfeature.cpp +++ b/src/library/rhythmbox/rhythmboxfeature.cpp @@ -66,8 +66,10 @@ RhythmboxFeature::RhythmboxFeature(QObject* parent, TrackCollection* pTrackColle qDebug() << "Failed to open database for Rhythmbox scanner." << m_database.lastError(); } - connect(&m_track_watcher, SIGNAL(finished()), - this, SLOT(onTrackCollectionLoaded()), + connect(&m_track_watcher, + &QFutureWatcher<TreeItem*>::finished, + this, + &RhythmboxFeature::onTrackCollectionLoaded, Qt::QueuedConnection); } |