From 953cca326de823c1a4bf9ea29c350f09822a2a75 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Tue, 21 Jul 2020 16:59:24 +0200 Subject: [PATCH] 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 Reviewed-by: Oswald Buddenhagen --- src/corelib/io/qprocess.cpp | 2 +- src/corelib/io/qprocess.h | 2 +- 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,