specified error codes
This commit is contained in:
parent
3240aa3cb3
commit
e7040f7cc8
2 changed files with 47 additions and 47 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue