diff options
author | Ken Moore <ken@pcbsd.org> | 2015-05-21 09:07:31 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-05-21 09:07:31 -0400 |
commit | a62c9c82c716ca4549b589d954a2eeb1fe83423a (patch) | |
tree | bda80aa1b3322855df0031463ce173ab496aa346 /lumina-open | |
parent | Add a fix for loading icons for Wine applications. (diff) | |
download | lumina-a62c9c82c716ca4549b589d954a2eeb1fe83423a.tar.gz lumina-a62c9c82c716ca4549b589d954a2eeb1fe83423a.tar.bz2 lumina-a62c9c82c716ca4549b589d954a2eeb1fe83423a.zip |
Oops, forgot to include the process exit status comparison before changing the rreturn code to 1 with the new lumina-open changes.
Diffstat (limited to 'lumina-open')
-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()); } } |