Flip not started and not finished mutex unlock

This commit is contained in:
Julien Cabieces 2019-10-29 10:36:56 +01:00 committed by Nyall Dawson
parent 3453659c02
commit e2246443b7

View File

@ -57,8 +57,8 @@ qint64 QgsTask::elapsedTime() const
void QgsTask::start()
{
mNotStartedMutex.unlock();
mNotFinishedMutex.lock();
mNotStartedMutex.unlock();
mStartCount++;
Q_ASSERT( mStartCount == 1 );