mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
* Assert when diverging and source is not local.
This commit is contained in:
@@ -266,6 +266,7 @@ DatabaseCommand_SetPlaylistRevision::exec( DatabaseImpl* lib )
|
|||||||
else if ( !m_oldrev.isEmpty() )
|
else if ( !m_oldrev.isEmpty() )
|
||||||
{
|
{
|
||||||
tDebug() << "Not updating current revision, optimistic locking fail" << currentRevision << m_oldrev;
|
tDebug() << "Not updating current revision, optimistic locking fail" << currentRevision << m_oldrev;
|
||||||
Q_ASSERT( false );
|
|
||||||
|
Q_ASSERT( !source()->isLocal() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user