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() )