Fix error message get bug

This commit is contained in:
Krad
2022-01-12 15:53:02 +08:00
parent 7bf85c0b4f
commit 8212788c89

View File

@@ -27,5 +27,7 @@ GUIErrorBase *GUIErrorFactory::getError(const QString &errorMsg) {
return error;
}
}
return new GUIErrorLE;
auto error = new GUIErrorLE;
error->parse(errorMsg);
return error;
}