diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-08-08 18:20:28 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-08-16 12:13:28 +0200 |
commit | 9cd37337dec6c970a1fd148e92ffc43fbf409cc3 (patch) | |
tree | 97635a16a175bb4b4a1d51cedea603bc24b77d7d /rbutil/rbutilqt/base/encoderexe.cpp | |
parent | b1332d974aa065e3c2a01408625d7c2c5b7fc77c (diff) | |
download | rockbox-9cd37337dec6c970a1fd148e92ffc43fbf409cc3.tar.gz rockbox-9cd37337dec6c970a1fd148e92ffc43fbf409cc3.zip |
rbutil: Fix various warnings.
Replace use of deprecated APIs with their replacements, and fix some
other minor warnings.
Change-Id: I3f63e0bd91b96ce86ce39c087fe0040fc226d16d
Diffstat (limited to 'rbutil/rbutilqt/base/encoderexe.cpp')
-rw-r--r-- | rbutil/rbutilqt/base/encoderexe.cpp | 2 |
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) | |||
78 | execstring.replace("%output",output); | 78 | execstring.replace("%output",output); |
79 | LOG_INFO() << "cmd: " << execstring; | 79 | LOG_INFO() << "cmd: " << execstring; |
80 | int result = QProcess::execute(execstring); | 80 | int result = QProcess::execute(execstring); |
81 | return (result == 0) ? true : false; | 81 | return result == 0; |
82 | } | 82 | } |
83 | 83 | ||
84 | 84 | ||