aboutsummaryrefslogtreecommitdiff
path: root/lumina-open
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-05-21 09:07:31 -0400
committerKen Moore <ken@pcbsd.org>2015-05-21 09:07:31 -0400
commita62c9c82c716ca4549b589d954a2eeb1fe83423a (patch)
treebda80aa1b3322855df0031463ce173ab496aa346 /lumina-open
parentAdd a fix for loading icons for Wine applications. (diff)
downloadlumina-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.cpp2
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()); }
}
bgstack15