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