summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-07-21 16:59:24 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-07-27 11:19:30 +0200
commit953cca326de823c1a4bf9ea29c350f09822a2a75 (patch)
treebc736316f217f3c16c6c6fa7084e08b878c2e33a
parent3251adb91997f36920d4f6397aa904bee192cfcb (diff)
Move a comment from a header to relevant docs
QProcess::FailedToStart had a //### comment which looked distractingly like it wanted some action, but it was really just documenting the enum member. Removed the comment and updated the doc to reflect the one fragment of information that the comment added. Task-number: QTBUG-85700 Change-Id: Ibe11b91a998751ee9cdd3018cc6a3d8f3ab30eea Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
-rw-r--r--src/corelib/io/qprocess.cpp2
-rw-r--r--src/corelib/io/qprocess.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qprocess.cpp b/src/corelib/io/qprocess.cpp
index 0fea26b47f..b56ead8584 100644
--- a/src/corelib/io/qprocess.cpp
+++ b/src/corelib/io/qprocess.cpp
@@ -673,7 +673,7 @@ void QProcessPrivate::Channel::clear()
\value FailedToStart The process failed to start. Either the
invoked program is missing, or you may have insufficient
- permissions to invoke the program.
+ permissions or resources to invoke the program.
\value Crashed The process crashed some time after starting
successfully.
diff --git a/src/corelib/io/qprocess.h b/src/corelib/io/qprocess.h
index f43dfad840..9e497c3871 100644
--- a/src/corelib/io/qprocess.h
+++ b/src/corelib/io/qprocess.h
@@ -112,7 +112,7 @@ class Q_CORE_EXPORT QProcess : public QIODevice
Q_OBJECT
public:
enum ProcessError {
- FailedToStart, //### file not found, resource error
+ FailedToStart,
Crashed,
Timedout,
ReadError,