Add const attribute to CGenErr::GetErrorText
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
2971146346
commit
86de570dbd
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ public:
|
||||||
CGenErr ( QString strNewErrorMsg, QString strNewErrorType = "" ) :
|
CGenErr ( QString strNewErrorMsg, QString strNewErrorType = "" ) :
|
||||||
strErrorMsg ( strNewErrorMsg ), strErrorType ( strNewErrorType ) {}
|
strErrorMsg ( strNewErrorMsg ), strErrorType ( strNewErrorType ) {}
|
||||||
|
|
||||||
QString GetErrorText()
|
QString GetErrorText() const
|
||||||
{
|
{
|
||||||
// return formatted error text
|
// return formatted error text
|
||||||
if ( strErrorType.isEmpty() )
|
if ( strErrorType.isEmpty() )
|
||||||
|
|
Loading…
Add table
Reference in a new issue