mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Don't assert when creating a fresh playlist.
This commit is contained in:
@@ -210,9 +210,9 @@ DatabaseCommand_SetPlaylistRevision::exec( DatabaseImpl* lib )
|
|||||||
m_previous_rev_orderedguids = v.toStringList();
|
m_previous_rev_orderedguids = v.toStringList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else if ( !m_oldrev.isEmpty() )
|
||||||
{
|
{
|
||||||
qDebug() << "Not updating current revision, optimistic locking fail";
|
tDebug() << "Not updating current revision, optimistic locking fail";
|
||||||
Q_ASSERT( false );
|
Q_ASSERT( false );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -100,6 +100,7 @@ protected:
|
|||||||
QMap<QString, Tomahawk::plentry_ptr> m_addedmap;
|
QMap<QString, Tomahawk::plentry_ptr> m_addedmap;
|
||||||
|
|
||||||
QString m_currentRevision;
|
QString m_currentRevision;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QVariantList m_orderedguids;
|
QVariantList m_orderedguids;
|
||||||
QList<Tomahawk::plentry_ptr> m_addedentries, m_entries;
|
QList<Tomahawk::plentry_ptr> m_addedentries, m_entries;
|
||||||
|
Reference in New Issue
Block a user