Skip to content

Commit

Permalink
Fix qt warnings on task manager test
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 24, 2017
1 parent 386eef2 commit ceb31fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgstaskmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ QgsTask::QgsTask( const QString &name, const Flags &flags )
: mFlags( flags )
, mDescription( name )
{
mNotFinishedMutex.lock();
}

QgsTask::~QgsTask()
Expand All @@ -44,6 +43,7 @@ QgsTask::~QgsTask()

void QgsTask::start()
{
mNotFinishedMutex.lock();
mStartCount++;
Q_ASSERT( mStartCount == 1 );

Expand Down

0 comments on commit ceb31fa

Please sign in to comment.