implemented cancel feedback in project saving

The cancel button now sends a signal to the saving thread to stop.
This commit is contained in:
itsmattkc
2020-01-12 16:34:35 +11:00
parent 00b5672639
commit fa95a61c7b
4 changed files with 30 additions and 2 deletions
-1
View File
@@ -29,7 +29,6 @@ LoadSaveDialog::LoadSaveDialog(const QString& message, const QString& title, QWi
QPushButton* cancel_btn = new QPushButton(tr("Cancel"));
connect(cancel_btn, &QPushButton::clicked, this, &LoadSaveDialog::Cancelled);
connect(cancel_btn, &QPushButton::clicked, this, &LoadSaveDialog::reject);
cancel_layout->addWidget(cancel_btn);
cancel_layout->addStretch();