diff --git a/src/libtomahawk/source.cpp b/src/libtomahawk/source.cpp index 9bc8519a6..f88f1279f 100644 --- a/src/libtomahawk/source.cpp +++ b/src/libtomahawk/source.cpp @@ -429,7 +429,7 @@ Source::updateTracks() // Re-calculate local db stats DatabaseCommand_CollectionStats* cmd = new DatabaseCommand_CollectionStats( SourceList::instance()->get( id() ) ); connect( cmd, SIGNAL( done( QVariantMap ) ), - SourceList::instance()->getLocal().data(), SLOT( setStats( QVariantMap ) ), Qt::QueuedConnection ); + this, SLOT( setStats( QVariantMap ) ), Qt::QueuedConnection ); Database::instance()->enqueue( QSharedPointer( cmd ) ); connect( cmd, SIGNAL( finished() ), SIGNAL( stateChanged() ) );