on xenial help sign in
Make slightly more readable
commitb31e023af38695507f52980e328d2597196ebf70 authorGerry Boland <gerry.boland@canonical.com> dateWed 30 Jul 2014, 11:36 (12 years ago) parent8506902
1 file changed+1−1
src/main.cpp+1−1
src/main.cpp+1−1
@@ -141,7 +141,7 @@ Load the testability driver");
141141 view->setSource(source);
142142 QObject::connect(view->engine(), SIGNAL(quit()), application, SLOT(quit()));
143143
144− if (!isMirServer && !qgetenv("UNITY_MIR_EMITS_SIGSTOP").isEmpty()) {
144+ if (!isMirServer && qEnvironmentVariableIsSet("UNITY_MIR_EMITS_SIGSTOP")) {
145145 // Emit SIGSTOP as expected by upstart, under Mir it's qtmir that will raise it.
146146 // see http://upstart.ubuntu.com/cookbook/#expect-stop
147147 raise(SIGSTOP);