aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwilliam os4y <william.os4y@gmail.com>2015-02-22 19:17:16 +0100
committerwilliam os4y <william.os4y@gmail.com>2015-02-22 19:17:16 +0100
commit70c42ebe4029ea9b0fd50d9de1172729fabd0e23 (patch)
tree1fad843b09acae71cc6bd7b0e5a28b91daf7961d
parentadapt the .gitignore in order to avoid all constructed files. (diff)
downloadlumina-70c42ebe4029ea9b0fd50d9de1172729fabd0e23.tar.gz
lumina-70c42ebe4029ea9b0fd50d9de1172729fabd0e23.tar.bz2
lumina-70c42ebe4029ea9b0fd50d9de1172729fabd0e23.zip
fix issue #55: inform user whan return code is not null
-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 4dab7ed0..4a9f7639 100644
--- a/lumina-open/main.cpp
+++ b/lumina-open/main.cpp
@@ -322,7 +322,7 @@ int main(int argc, char **argv){
//qDebug() << "[lumina-open] Finished Cmd:" << cmd << retcode << p->exitStatus();
//if(retcode!=0 ){
- if(p->exitStatus() == QProcess::CrashExit){
+ if(p->exitStatus() == QProcess::CrashExit or retcode > 0){
qDebug() << "[lumina-open] Application Error:" << retcode;
QString err = QString(p->readAllStandardError());
if(err.isEmpty()){ err = QString(p->readAllStandardOutput()); }
bgstack15