Skip to content

Commit

Permalink
fix invoke method call for Qt 5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
troopa81 authored and nyalldawson committed Mar 20, 2020
1 parent d5d650c commit 1eeba4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgstaskmanager.cpp
Expand Up @@ -264,7 +264,7 @@ void QgsTask::setProgress( double progress )
void QgsTask::completed()
{
mStatus = Complete;
QMetaObject::invokeMethod( this, &QgsTask::processSubTasksForCompletion, Qt::AutoConnection );
QMetaObject::invokeMethod( this, "processSubTasksForCompletion" );
}

void QgsTask::processSubTasksForCompletion()
Expand Down Expand Up @@ -350,7 +350,7 @@ void QgsTask::processSubTasksForHold()
void QgsTask::terminated()
{
mStatus = Terminated;
QMetaObject::invokeMethod( this, &QgsTask::processSubTasksForTermination, Qt::AutoConnection );
QMetaObject::invokeMethod( this, "processSubTasksForTermination" );
}


Expand Down

0 comments on commit 1eeba4c

Please sign in to comment.