Commit 4cbdb6b6 authored by Alexander Stippich's avatar Alexander Stippich
Browse files

remove unused function

parent 8e1c7f3f
......@@ -429,29 +429,6 @@ void MediaPlayList::enqueueRestoredEntries(const QVariantList &newEntries)
Q_EMIT remainingTracksChanged();
}
void MediaPlayList::enqueueArtist(const QString &artistName)
{
qCDebug(orgKdeElisaPlayList()) << "MediaPlayList::enqueueArtist" << artistName;
enqueueCommon();
auto newEntry = MediaPlayListEntry{artistName};
newEntry.mEntryType = ElisaUtils::Artist;
beginInsertRows(QModelIndex(), d->mData.size(), d->mData.size());
d->mData.push_back(newEntry);
d->mTrackData.push_back({});
endInsertRows();
if (!d->mCurrentTrack.isValid()) {
resetCurrentTrack();
}
Q_EMIT tracksCountChanged();
Q_EMIT remainingTracksChanged();
Q_EMIT newEntryInList(0, artistName, newEntry.mEntryType);
Q_EMIT persistentStateChanged();
}
void MediaPlayList::enqueueFilesList(const ElisaUtils::EntryDataList &newEntries, ElisaUtils::PlayListEntryType databaseIdType)
{
qCDebug(orgKdeElisaPlayList()) << "MediaPlayList::enqueueFilesList";
......
......@@ -301,8 +301,6 @@ private:
void notifyPreviousAndNextTracks();
void enqueueArtist(const QString &artistName);
void enqueueFilesList(const ElisaUtils::EntryDataList &newEntries, ElisaUtils::PlayListEntryType databaseIdType);
void enqueueTracksListById(const ElisaUtils::EntryDataList &newEntries, ElisaUtils::PlayListEntryType type);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment