diff options
-rw-r--r-- | lumina-open/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lumina-open/main.cpp b/lumina-open/main.cpp index 51d10464..dd2b1c93 100644 --- a/lumina-open/main.cpp +++ b/lumina-open/main.cpp @@ -340,7 +340,7 @@ int main(int argc, char **argv){ if(p->state() != QProcess::Running){ break; } //somehow missed the finished signal } retcode = p->exitCode(); - if(QProcess::CrashExit && retcode ==0){ retcode=1; } //so we catch it later + if( (p->exitStatus()==QProcess::CrashExit) && retcode ==0){ retcode=1; } //so we catch it later log = QString(p->readAllStandardError()); if(log.isEmpty()){ log = QString(p->readAllStandardOutput()); } } |