Fix error message get bug
This commit is contained in:
@@ -27,5 +27,7 @@ GUIErrorBase *GUIErrorFactory::getError(const QString &errorMsg) {
|
||||
return error;
|
||||
}
|
||||
}
|
||||
return new GUIErrorLE;
|
||||
auto error = new GUIErrorLE;
|
||||
error->parse(errorMsg);
|
||||
return error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user