summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/encoderexe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/base/encoderexe.cpp')
-rw-r--r--rbutil/rbutilqt/base/encoderexe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/encoderexe.cpp b/rbutil/rbutilqt/base/encoderexe.cpp
index f56cf368eb..81315691e5 100644
--- a/rbutil/rbutilqt/base/encoderexe.cpp
+++ b/rbutil/rbutilqt/base/encoderexe.cpp
@@ -78,7 +78,7 @@ bool EncoderExe::encode(QString input,QString output)
execstring.replace("%output",output);
LOG_INFO() << "cmd: " << execstring;
int result = QProcess::execute(execstring);
- return (result == 0) ? true : false;
+ return result == 0;
}