mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 19:05:36 -04:00
[libcalamares] Move more into the locale service
- Use namespace CalamaresUtils::Locale consistently for this service. - Move locale-related non-GUI support code from the Welcome module to libcalamares; these are generally useful. Both Label (naming a locale) and LabelModel (managing a bunch of those Labels) have been moved.
This commit is contained in:
parent
b490e30a5e
commit
18ed4c74ef
12 changed files with 93 additions and 75 deletions
|
@ -154,7 +154,7 @@ WelcomeViewStep::setCountry( const QString& countryCode )
|
|||
return;
|
||||
}
|
||||
|
||||
auto c_l = Calamares::countryData( countryCode );
|
||||
auto c_l = CalamaresUtils::Locale::countryData( countryCode );
|
||||
if ( c_l.first == QLocale::Country::AnyCountry )
|
||||
{
|
||||
cDebug() << "Unusable country code" << countryCode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue