diff options
author | Ken Moore <ken@pcbsd.org> | 2015-03-26 15:32:34 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-03-26 15:32:34 -0400 |
commit | 5e823e558a80a0b9439edcf60d149eff12396198 (patch) | |
tree | a5afb196cb9ed26b9e08e7de1705aa112223a660 /lumina-open/main.cpp | |
parent | Merge pull request #77 from william-os4y/fmNumbers (diff) | |
download | lumina-5e823e558a80a0b9439edcf60d149eff12396198.tar.gz lumina-5e823e558a80a0b9439edcf60d149eff12396198.tar.bz2 lumina-5e823e558a80a0b9439edcf60d149eff12396198.zip |
Clean up the retcode > 0 "or" usage in main.cpp
Diffstat (limited to 'lumina-open/main.cpp')
-rw-r--r-- | lumina-open/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lumina-open/main.cpp b/lumina-open/main.cpp index 657ffc07..c476cfdf 100644 --- a/lumina-open/main.cpp +++ b/lumina-open/main.cpp @@ -326,8 +326,7 @@ int main(int argc, char **argv){ int retcode = p->exitCode(); //qDebug() << "[lumina-open] Finished Cmd:" << cmd << retcode << p->exitStatus(); - //if(retcode!=0 ){ - if(p->exitStatus() == QProcess::CrashExit or retcode > 0){ + if(p->exitStatus() == QProcess::CrashExit || retcode > 0){ qDebug() << "[lumina-open] Application Error:" << retcode; QString err = QString(p->readAllStandardError()); if(err.isEmpty()){ err = QString(p->readAllStandardOutput()); } |