Commit 0c629f46 authored by Alexander Stippich's avatar Alexander Stippich
Browse files

try to fix test

parent 374f754f
......@@ -295,6 +295,10 @@ bool MediaPlayList::moveRows(const QModelIndex &sourceParent, int sourceRow, int
void MediaPlayList::enqueueRestoredEntries(const QVariantList &newEntries)
{
if (newEntries.isEmpty()) {
return;
}
beginInsertRows(QModelIndex(), d->mData.size(), d->mData.size() + newEntries.size() - 1);
for (auto &oneData : newEntries) {
auto trackData = oneData.toStringList();
......
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