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:
parent
7672e09770
commit
0c2d6c163f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user