Allow to translate error messages

This commit is contained in:
Chocobo1
2020-03-22 19:47:04 +08:00
parent fcc87b4e9b
commit 2c23840947
4 changed files with 9 additions and 9 deletions

View File

@@ -42,7 +42,7 @@ enum class APIErrorType
class APIError : public RuntimeError
{
public:
explicit APIError(APIErrorType type, const QString &message = "");
explicit APIError(APIErrorType type, const QString &message = {});
APIErrorType type() const;