QtcProcess: Make exitMessage() a const method

Change-Id: Ibb0aaf0bf3bf216673646ea7b869fd7e55e6b81c
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Jarek Kobus
2022-04-05 13:47:11 +02:00
parent c4e75b7e20
commit 5b923954c0
2 changed files with 2 additions and 2 deletions

View File

@@ -1315,7 +1315,7 @@ QString QtcProcess::locateBinary(const QString &binary)
as this will cause event loop problems. as this will cause event loop problems.
*/ */
QString QtcProcess::exitMessage() QString QtcProcess::exitMessage() const
{ {
const QString fullCmd = commandLine().toUserOutput(); const QString fullCmd = commandLine().toUserOutput();
switch (result()) { switch (result()) {

View File

@@ -182,7 +182,7 @@ public:
QByteArray rawStdOut() const; QByteArray rawStdOut() const;
QString exitMessage(); QString exitMessage() const;
QString toStandaloneCommandLine() const; QString toStandaloneCommandLine() const;