v30.3-roots.1 · Commit 5: [PATCH 05/68] feat(qt): preserve Roots identity and GUI support on Core 30.3
src/qt/optionsdialog.cpp
Before: src/qt/optionsdialog.cpp · After: src/qt/optionsdialog.cpp
File metadata
index 0a0e44f6f5bc05711e420dfd216367ea63e99a81..e0571335bf525f0542e46fb7d65c215339cc4949 100644
Download original patch · Release notes
Diff rows 1–11 of 11. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.
src/qt/optionsdialog.cpp
CHANGED
|
@@ -164,7 +164,11 @@ OptionsDialog::OptionsDialog(QWidget* parent, bool enableWallet)
|
|
|
164
164
|
{
|
|
165
165
|
/** display language strings as "native language - native country/territory (locale name)", e.g. "Deutsch - Deutschland (de)" */
|
|
166
166
|
ui->lang->addItem(locale.nativeLanguageName() + QString(" - ") +
|
|
167
|
+
#if QT_VERSION >= QT_VERSION_CHECK(6, 2, 0)
|
|
167
168
|
locale.nativeTerritoryName() +
|
|
169
|
+
#else
|
|
170
|
+
locale.nativeCountryName() +
|
|
171
|
+
#endif
|
|
168
172
|
QString(" (") + langStr + QString(")"), QVariant(langStr));
|
|
169
173
|
|
|
170
174
|
}
|