Commit d264e073 authored by Lisa's avatar Lisa

Use QCoreApplication::exit instead of exit to ensure a clean exit in case of errors.

parent 3ec37af7
......@@ -106,7 +106,7 @@ void OperationManager::statusChanged(Akabei::Backend::Status status)
QTextStream err(stderr);
err << Akabei::errorPrefix << QObject::tr("The backend seems to be in a broken state. ");
err << endl;
exit(1);
QCoreApplication::exit(1);
}
default:
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment