mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-21 19:35:49 +08:00
fix(mainwindow): cancel all jobs on close
This commit is contained in:
+1
-2
@@ -464,8 +464,7 @@ void MainWindow::closeEvent(QCloseEvent *event)
|
||||
event->ignore();
|
||||
return;
|
||||
}
|
||||
// FIXME
|
||||
// ExportManager::sharedInstance()->cancelAllJobs();
|
||||
IOManagerClient::sharedInstance()->cancelAllJobs();
|
||||
}
|
||||
|
||||
QMainWindow::closeEvent(event);
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "ZUpdater.h"
|
||||
#include "iDescriptor-ui.h"
|
||||
#include "iDescriptor.h"
|
||||
#include "iomanagerclient.h"
|
||||
#include "ztabwidget.h"
|
||||
#include <QLabel>
|
||||
#include <QMainWindow>
|
||||
|
||||
Reference in New Issue
Block a user