diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2017-03-28 18:05:19 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2017-03-31 17:37:18 +0000 |
commit | 28666d167aa8e602c0bea25ebc4d51b55005db13 (patch) | |
tree | f9f73a1c98d067e28f7791a19108eaf2603a1c2c /src/corelib/io/qprocess_p.h | |
parent | 31e782cc9609c2f1c201453841f36ed7dae25890 (diff) |
Simplify Unix implementation of QProcess::start{Process|Detached}
Use QStandardPaths::findExecutable instead of duplicated
implementations.
Change-Id: Ia944f1d343d8c215fc2b6e78dae6b2bfffbba688
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qprocess_p.h')
-rw-r--r-- | src/corelib/io/qprocess_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qprocess_p.h b/src/corelib/io/qprocess_p.h index 9c4a2d8e1b..80ac631290 100644 --- a/src/corelib/io/qprocess_p.h +++ b/src/corelib/io/qprocess_p.h @@ -353,7 +353,7 @@ public: void start(QIODevice::OpenMode mode); void startProcess(); #if defined(Q_OS_UNIX) - void execChild(const char *workingDirectory, char **path, char **argv, char **envp); + void execChild(const char *workingDirectory, char **argv, char **envp); #endif bool processStarted(QString *errorMessage = Q_NULLPTR); void terminateProcess(); |