From 7253c4bb528aeda6787cc02d56d4e298c864fb13 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Thu, 2 Nov 2017 14:37:45 +0100 Subject: [PATCH] Don't show "N/A" as description when there is no Gecko code "N/A" can be awkward to handle in translations. I don't think there's much point in showing "N/A" rather than leaving the description box blank, so let's just leave it blank. --- Source/Core/DolphinQt2/Config/GeckoCodeWidget.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/Core/DolphinQt2/Config/GeckoCodeWidget.cpp b/Source/Core/DolphinQt2/Config/GeckoCodeWidget.cpp index ddb31b138b..0b04439e92 100644 --- a/Source/Core/DolphinQt2/Config/GeckoCodeWidget.cpp +++ b/Source/Core/DolphinQt2/Config/GeckoCodeWidget.cpp @@ -118,9 +118,6 @@ void GeckoCodeWidget::OnSelectionChanged() m_code_description->clear(); - if (code.notes.empty()) - m_code_description->append(tr("N/A")); - for (const auto& line : code.notes) m_code_description->append(QString::fromStdString(line));