Index: sources/storage/TreatmentLog.cpp =================================================================== diff -u -r277c22276bf6f02a2fe28107b48ffe4b6995e734 -r3e682c5afdadcf4dd2006e3d975fbee58e48619e --- sources/storage/TreatmentLog.cpp (.../TreatmentLog.cpp) (revision 277c22276bf6f02a2fe28107b48ffe4b6995e734) +++ sources/storage/TreatmentLog.cpp (.../TreatmentLog.cpp) (revision 3e682c5afdadcf4dd2006e3d975fbee58e48619e) @@ -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); }