From 6ce111301f36cbe8d9bf1e8cdeb786cc7b35fda0 Mon Sep 17 00:00:00 2001 From: James Rowe Date: Wed, 25 Apr 2018 09:44:16 -0600 Subject: [PATCH] Frontend: Add missing translation for network error messages --- src/citra_qt/multiplayer/message.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/citra_qt/multiplayer/message.cpp b/src/citra_qt/multiplayer/message.cpp index 57cd7671c9..d2275e0e01 100644 --- a/src/citra_qt/multiplayer/message.cpp +++ b/src/citra_qt/multiplayer/message.cpp @@ -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() {