1
0
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:
Christian Muehlhaeuser 2013-04-27 01:25:38 +02:00
parent 511c1aef70
commit fa64e12a55

View File

@ -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() );
}
}