diff --git a/backup-daemon/mybackupmanager.cpp b/backup-daemon/mybackupmanager.cpp index 0563f5d..28e9459 100755 --- a/backup-daemon/mybackupmanager.cpp +++ b/backup-daemon/mybackupmanager.cpp @@ -227,7 +227,7 @@ int MyBackupManager::cancel(const BackupWrapper& backupWrapper) Q_UNUSED(backupWrapper) if (workerThread.isRunning()) - emit workerThread->cancel(); + emit workerThread.cancelWork(); return 0; }