summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@theqtcompany.com>2015-06-22 09:01:09 +0200
committerKai Koehne <kai.koehne@theqtcompany.com>2015-06-22 12:04:45 +0000
commitc29383769a7ce9e3c757f980bf856aa4d9caf887 (patch)
tree6959b166255c2340a83f157a8c436b93a23a5127 /src/corelib
parente4f5278a4f308297bdcf12c04c8b4600a1294ef7 (diff)
Core: Fix QProcess::errorString() output
Fix regression introduced in commit 5147f73ac301d. Change-Id: I336e13d5127c5e6e2f9e7afdfa7956fc89533766 Reviewed-by: Marcel Krems <m.krems@software-vision.eu> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qprocess.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/io/qprocess.cpp b/src/corelib/io/qprocess.cpp
index 8f7f164f76..093cb85bfb 100644
--- a/src/corelib/io/qprocess.cpp
+++ b/src/corelib/io/qprocess.cpp
@@ -905,6 +905,7 @@ void QProcessPrivate::setError(QProcess::ProcessError error, const QString &desc
switch (error) {
case QProcess::FailedToStart:
errorString = QProcess::tr("Process failed to start");
+ break;
case QProcess::Crashed:
errorString = QProcess::tr("Process crashed");
break;