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:
Andrius Štikonas 2016-05-11 22:17:38 +01:00
parent 24ae2bf079
commit 4fc3f321dd
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ void OperationStack::clearOperations()
Operation* o = operations().takeLast();
if (o->status() == Operation::StatusPending)
o->undo();
o->deleteLater();
delete o;
}
emit operationsChanged();