diff options
author | Gerry Boland <gerry.boland@canonical.com> | 2015-05-11 13:16:26 +0000 |
---|---|---|
committer | CI Train Bot <ci-train-bot@canonical.com> | 2015-05-11 13:16:26 +0000 |
commit | 66fafb550c36d03afab7cba04a953242180415c0 (patch) | |
tree | 1b337fd24946d11dc614e2789834b0c44de008ec /src | |
parent | dfd741368a6c4329cd03db5aae30e8e81d143d57 (diff) | |
parent | bbce4a12b17c709ec28028b4de3f365083d3ab21 (diff) |
If Mir fails to start, exit the process immediately as nothing else can be done
Note, QCoreApplication::quit() does nothing as no event loop has been started yet
Approved by: Daniel d'Andrada, PS Jenkins bot
Diffstat (limited to 'src')
-rw-r--r-- | src/platforms/mirserver/qmirserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platforms/mirserver/qmirserver.cpp b/src/platforms/mirserver/qmirserver.cpp index 4af86f7..f28393a 100644 --- a/src/platforms/mirserver/qmirserver.cpp +++ b/src/platforms/mirserver/qmirserver.cpp @@ -69,7 +69,7 @@ QMirServer::QMirServer(const QSharedPointer<MirServer> &server, QObject *parent) if (!m_mirServer->wait_for_mir_startup()) { qCritical() << "ERROR: QMirServer - Mir failed to start"; - QCoreApplication::quit(); + exit(2); } } |