# HG changeset patch
# User Wuzzy <Wuzzy2@mail.ru>
# Date 1520987617 -3600
# Node ID 290815bbd4e1f7a0b6484c8fb435dee0b8523aa9
# Parent  3a110dcb6e873d413b88765b1326ee232f4b5b6b
Remove old Qt4 workaround for missing language name of Scottish Gaelic

diff -r 3a110dcb6e87 -r 290815bbd4e1 QTfrontend/ui/page/pageoptions.cpp
--- a/QTfrontend/ui/page/pageoptions.cpp	Wed Mar 14 01:22:45 2018 +0100
+++ b/QTfrontend/ui/page/pageoptions.cpp	Wed Mar 14 01:33:37 2018 +0100
@@ -652,17 +652,8 @@
                 // Fallback code, if language name is empty for some reason. This should normally not happen
                 if(entryName.isEmpty())
                 {
-                    if(lname == "gd")
-                    {
-                        /* Workaround for Qt4: nativeLanguageName does not return correct name for Scottish Gaelic (QTBUG-59929),
-                           so we have to add it ourselves :-/ */
-                        entryName = QString::fromUtf8("GĂ idhlig");
-                    }
-                    else
-                    {
-                        // If all else fails, show error and the locale identifier
-                        entryName = tr("MISSING LANGUAGE NAME [%1]").arg(lname);
-                    }
+                    // Show error and the locale identifier
+                    entryName = tr("MISSING LANGUAGE NAME [%1]").arg(lname);
                 }
                 CBLanguage->addItem(entryName, lname);
             }