Qt: Fix inability to select translated video backend names
This commit is contained in:
1 parent
e22c5333ab
commit
b59387a65d
2 files changed
+28
-58
No files matched your search
@@ -111,8 +111,8 @@ void GraphicsWindow::OnBackendChanged(const QString& backend_name)
|
||||
}
|
||||
}
|
||||
|
||||
setWindowTitle(tr("%1 Graphics Configuration")
|
||||
.arg(QString::fromStdString(g_video_backend->GetDisplayName())));
|
||||
setWindowTitle(
|
||||
tr("%1 Graphics Configuration").arg(tr(g_video_backend->GetDisplayName().c_str())));
|
||||
if (backend_name == QStringLiteral("Software Renderer") && m_tab_widget->count() > 1)
|
||||
{
|
||||
m_tab_widget->clear();
|
||||
|
||||
Reference in new issue
Block a user