diff options
| author | JosJuice <josjuice@gmail.com> | 2017-11-02 14:37:45 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2017-11-02 14:37:45 +0100 |
| commit | 7253c4bb528aeda6787cc02d56d4e298c864fb13 (patch) | |
| tree | abdb1d29e20d82a4920b2c2eda85c0bdc3472445 /Source | |
| parent | e29cd19f731d11bfa8deefebfd2a867af4f2e348 (diff) | |
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.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/DolphinQt2/Config/GeckoCodeWidget.cpp | 3 |
1 files changed, 0 insertions, 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)); |
