ui(QT): QT 6.7.3 Implementation

This commit is contained in:
vampiric_x 2025-01-12 04:26:22 +01:00
parent d3ed42af8f
commit 2d7f9d921b
10 changed files with 394 additions and 203 deletions

View file

@ -256,7 +256,7 @@ void ConfigureUi::InitializeLanguageComboBox() {
locale.truncate(locale.lastIndexOf(QLatin1Char{'.'}));
locale.remove(0, locale.lastIndexOf(QLatin1Char{'/'}) + 1);
const QString lang = QLocale::languageToString(QLocale(locale).language());
const QString country = QLocale::countryToString(QLocale(locale).country());
const QString country = QLocale::territoryToString(QLocale(locale).territory());
ui->language_combobox->addItem(QStringLiteral("%1 (%2)").arg(lang, country), locale);
}