specified error codes

This commit is contained in:
vladimir.kuznetsov 2024-01-29 21:33:35 +07:00
parent 3240aa3cb3
commit e7040f7cc8
2 changed files with 47 additions and 47 deletions

View file

@ -69,7 +69,7 @@ QString errorString(ErrorCode code) {
errorMessage = QObject::tr("Internal error");
}
return errorMessage + QObject::tr("; ErrorCode: %1").arg(code);
return QObject::tr("ErrorCode: %1. ").arg(code) + errorMessage;
}
QDebug operator<<(QDebug debug, const ErrorCode &e)