diff options
author | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-07-23 17:06:53 +0200 |
---|---|---|
committer | Jake Petroules <jake.petroules@petroules.com> | 2015-07-30 05:33:28 +0000 |
commit | edb5f22b0a5f791728951bc77e272279e06b6ab6 (patch) | |
tree | f1472659384f813ca987dd84fbc4f05c343344ad /configure.bat | |
parent | 2a382655718dcf8d00822d8fdc1dfdae1666c67e (diff) |
consistently handle empty program string in QProcess::start overloads
All overloads of QProcess::start will now check whether the program
string is empty and in that case
- set error to FailedToStart,
- set errorString to "No program defined",
- emit error.
Until now only one of the three overloads behaved like this.
As a side effect, start(QString(), QStringList()) will not crash on
Windows anymore.
Task-number: QTBUG-47404
Change-Id: I2f93657204fe3643b1d74a74817843c05fc4a96b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'configure.bat')
0 files changed, 0 insertions, 0 deletions