Fix deprecation warning in tst_QLocale()'s use of QProcess::start()

Change-Id: I6f5dfa2d40984f86670288bdee4d1b7b060850ac
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Edward Welbourne 2020-04-02 13:58:16 +02:00
parent 7672e09770
commit 0c2d6c163f

View File

@ -512,7 +512,7 @@ static inline bool runSysApp(const QString &binary,
errorMessage->clear();
QProcess process;
process.setEnvironment(env);
process.start(binary);
process.start(binary, QStringList());
process.closeWriteChannel();
if (!process.waitForStarted()) {
*errorMessage = QLatin1String("Cannot start '") + binary