Revert "Better to use deleteLater with QObjects."
This reverts commit 3ec80be2a1
.
This was causing a crash when changing filesystem (reformatting).
This commit is contained in:
parent
24ae2bf079
commit
4fc3f321dd
|
@ -456,7 +456,7 @@ void OperationStack::clearOperations()
|
||||||
Operation* o = operations().takeLast();
|
Operation* o = operations().takeLast();
|
||||||
if (o->status() == Operation::StatusPending)
|
if (o->status() == Operation::StatusPending)
|
||||||
o->undo();
|
o->undo();
|
||||||
o->deleteLater();
|
delete o;
|
||||||
}
|
}
|
||||||
|
|
||||||
emit operationsChanged();
|
emit operationsChanged();
|
||||||
|
|
Loading…
Reference in New Issue