refactor: setAbortStatus -> setAbortable

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow
2022-08-21 09:26:27 -03:00
parent 9eb35ea7c8
commit be8c6f218c
6 changed files with 9 additions and 9 deletions

View File

@ -7,7 +7,7 @@ InstanceCreationTask::InstanceCreationTask() = default;
void InstanceCreationTask::executeTask()
{
setAbortStatus(true);
setAbortable(true);
if (updateInstance()) {
emitSucceeded();
@ -35,7 +35,7 @@ void InstanceCreationTask::executeTask()
// files scheduled to, and we'd better not let the user abort in the middle of it, since it'd
// put the instance in an invalid state.
if (shouldOverride()) {
setAbortStatus(false);
setAbortable(false);
setStatus(tr("Removing old conflicting files..."));
qDebug() << "Removing old files";