mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +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();
|
||||
}
|
||||
}
|
||||
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 );
|
||||
}
|
||||
}
|
||||
|
@@ -100,6 +100,7 @@ protected:
|
||||
QMap<QString, Tomahawk::plentry_ptr> m_addedmap;
|
||||
|
||||
QString m_currentRevision;
|
||||
|
||||
private:
|
||||
QVariantList m_orderedguids;
|
||||
QList<Tomahawk::plentry_ptr> m_addedentries, m_entries;
|
||||
|
Reference in New Issue
Block a user