Frontend: Add missing translation for network error messages

This commit is contained in:
James Rowe 2018-04-25 09:44:16 -06:00
parent ed42b4b0d2
commit 6ce111301f

View file

@ -44,7 +44,7 @@ static bool WarnMessage(const std::string& title, const std::string& text) {
}
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() {