Add const attribute to CGenErr::GetErrorText

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2020-06-24 08:38:26 +02:00
parent 2971146346
commit 86de570dbd

View file

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