mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Use QLocale::uiLanguages for system language.
This commit is contained in:
@@ -152,7 +152,9 @@ CountrySelectBox::CountrySelectBox(QWidget*)
|
||||
CountrySelectBox::CountrySelectBox(QWidget*, const QString &iso, Type type)
|
||||
: _type(type)
|
||||
, _select(this, st::contactsMultiSelect, tr::lng_country_ph()) {
|
||||
LastValidISO = iso;
|
||||
if (Data::CountriesByISO2().contains(iso)) {
|
||||
LastValidISO = iso;
|
||||
}
|
||||
}
|
||||
|
||||
void CountrySelectBox::prepare() {
|
||||
|
Reference in New Issue
Block a user