From 86de570dbd33b6ea7a34c1efba4bb8550cda34c0 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 24 Jun 2020 08:38:26 +0200 Subject: [PATCH] Add const attribute to CGenErr::GetErrorText Signed-off-by: Stefan Weil --- src/global.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/global.h b/src/global.h index 4a09bc95..20ef60cc 100755 --- a/src/global.h +++ b/src/global.h @@ -282,7 +282,7 @@ public: CGenErr ( QString strNewErrorMsg, QString strNewErrorType = "" ) : strErrorMsg ( strNewErrorMsg ), strErrorType ( strNewErrorType ) {} - QString GetErrorText() + QString GetErrorText() const { // return formatted error text if ( strErrorType.isEmpty() )