aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwilliam os4y <william.os4y@gmail.com>2015-02-22 19:17:16 +0100
committerwilliam <william.os4y@gmail.com>2015-03-13 20:51:54 +0100
commit77ec8641997a879b13883ac8c245855b00618c27 (patch)
tree20e0b64ac6025726794fb2d41f3c73cc88d2f2ff
parentadapt the .gitignore in order to avoid all constructed files. (diff)
downloadlumina-77ec8641997a879b13883ac8c245855b00618c27.tar.gz
lumina-77ec8641997a879b13883ac8c245855b00618c27.tar.bz2
lumina-77ec8641997a879b13883ac8c245855b00618c27.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 8b79682d..657ffc07 100644
--- a/lumina-open/main.cpp
+++ b/lumina-open/main.cpp
@@ -327,7 +327,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