1
0
Fork 0

Merge pull request #3689 from jroweboy/txfix

Frontend: Add missing translation for network error messages
This commit is contained in:
Weiyi Wang 2018-04-26 11:42:32 +03:00 committed by GitHub
commit b443eea540
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ static bool WarnMessage(const std::string& title, const std::string& text) {
} }
void ShowError(const ConnectionError& e) { void ShowError(const ConnectionError& e) {
QMessageBox::critical(nullptr, QObject::tr("Error"), QString::fromStdString(e.GetString())); QMessageBox::critical(nullptr, QObject::tr("Error"), QObject::tr(e.GetString().c_str()));
} }
bool WarnCloseRoom() { bool WarnCloseRoom() {