From d314650279474df34be418a6b94b2fe962d36c1b Mon Sep 17 00:00:00 2001 From: uncor3 Date: Sun, 5 Apr 2026 10:07:43 +0000 Subject: [PATCH] fix(mainwindow): cancel all jobs on close --- src/mainwindow.cpp | 3 +-- src/mainwindow.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index ca995af..65582d8 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -464,8 +464,7 @@ void MainWindow::closeEvent(QCloseEvent *event) event->ignore(); return; } - // FIXME - // ExportManager::sharedInstance()->cancelAllJobs(); + IOManagerClient::sharedInstance()->cancelAllJobs(); } QMainWindow::closeEvent(event); diff --git a/src/mainwindow.h b/src/mainwindow.h index 2f20beb..856fe5b 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -23,6 +23,7 @@ #include "ZUpdater.h" #include "iDescriptor-ui.h" #include "iDescriptor.h" +#include "iomanagerclient.h" #include "ztabwidget.h" #include #include