Fix bug in exception "Bad id".
Local variable hides class member. (grafted from acb225f6c0ffc307f185f993feebfdaed79bd43b) --HG-- branch : develop
This commit is contained in:
parent
457c27dbda
commit
4636215929
|
@ -79,11 +79,11 @@ QString VExceptionBadId::ErrorMessage() const
|
|||
QString error;
|
||||
if (key.isEmpty())
|
||||
{
|
||||
error = QString("ExceptionBadId: %1, id = %2").arg(error).arg(id);
|
||||
error = QString("ExceptionBadId: %1, id = %2").arg(this->error).arg(id);
|
||||
}
|
||||
else
|
||||
{
|
||||
error = QString("ExceptionBadId: %1, id = %2").arg(error).arg(key);
|
||||
error = QString("ExceptionBadId: %1, id = %2").arg(this->error).arg(key);
|
||||
}
|
||||
return error;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user