refactor: setAbortStatus -> setAbortable
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
9eb35ea7c8
commit
be8c6f218c
6 changed files with 9 additions and 9 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue