diff options
Diffstat (limited to 'rbutil/rbutilqt/base/encoders.cpp')
-rw-r--r-- | rbutil/rbutilqt/base/encoders.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/encoders.cpp b/rbutil/rbutilqt/base/encoders.cpp index 43c43a8a8f..795b622bbd 100644 --- a/rbutil/rbutilqt/base/encoders.cpp +++ b/rbutil/rbutilqt/base/encoders.cpp @@ -132,8 +132,8 @@ bool EncExes::encode(QString input,QString output) execstring.replace("%input",input); execstring.replace("%output",output); qDebug() << execstring; - QProcess::execute(execstring); - return true; + int result = QProcess::execute(execstring); + return (result == 0) ? true : false; } |