diff --git a/src/libtomahawk/playlist/PlayableModel.cpp b/src/libtomahawk/playlist/PlayableModel.cpp index e1bb35217..7d5b6ba64 100644 --- a/src/libtomahawk/playlist/PlayableModel.cpp +++ b/src/libtomahawk/playlist/PlayableModel.cpp @@ -715,7 +715,7 @@ PlayableModel::removeIndex( const QModelIndex& index, bool moreToCome ) Q_D( PlayableModel ); if ( QThread::currentThread() != thread() ) { - QMetaObject::invokeMethod( this, "remove", + QMetaObject::invokeMethod( this, "removeIndex", Qt::QueuedConnection, Q_ARG(const QModelIndex, index), Q_ARG(bool, moreToCome) ); @@ -771,6 +771,7 @@ PlayableModel::removeIndexes( const QList& indexes ) } } + PlayableItem* PlayableModel::rootItem() const {