Index: sources/storage/TreatmentLog.cpp =================================================================== diff -u -raf9b5ee3e759ca45c4e55488f46601f30143edae -r57ea732311e6f4c746974f5a52316f63dec23ca8 --- sources/storage/TreatmentLog.cpp (.../TreatmentLog.cpp) (revision af9b5ee3e759ca45c4e55488f46601f30143edae) +++ sources/storage/TreatmentLog.cpp (.../TreatmentLog.cpp) (revision 57ea732311e6f4c746974f5a52316f63dec23ca8) @@ -311,7 +311,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); } @@ -469,7 +469,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); }