Index: sources/storage/TreatmentLog.cpp =================================================================== diff -u -r277c22276bf6f02a2fe28107b48ffe4b6995e734 -rb12cc2840bb819c5222bfd3bc2cc5ca6eb4c37fd --- sources/storage/TreatmentLog.cpp (.../TreatmentLog.cpp) (revision 277c22276bf6f02a2fe28107b48ffe4b6995e734) +++ sources/storage/TreatmentLog.cpp (.../TreatmentLog.cpp) (revision b12cc2840bb819c5222bfd3bc2cc5ca6eb4c37fd) @@ -341,7 +341,7 @@ void TreatmentLog::saveLogConcurrent() { LOG_DEBUG("Save Treatment Log Started"); - QFuture mFuture = QtConcurrent::run(this, &TreatmentLog::saveLog); + QFuture mFuture = QtConcurrent::run(&TreatmentLog::saveLog, this); _saveWatcher.setFuture(mFuture); } @@ -497,7 +497,7 @@ void TreatmentLog::exportLogConcurrent() { LOG_DEBUG("Export Treatment Log Started"); - QFuture mFuture = QtConcurrent::run(this, &TreatmentLog::exportLog); + QFuture mFuture = QtConcurrent::run(&TreatmentLog::exportLog, this); _exportWatcher.setFuture(mFuture); }