mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 10:55:37 -04:00
[locale] Add regions & zones models to Config
- The models are constant pointers, even if their contents aren't. - Make the top-level (region) model point to the global TZ list.
This commit is contained in:
parent
51b7ec875f
commit
88d1d255f6
2 changed files with 16 additions and 0 deletions
|
@ -142,6 +142,9 @@ loadLocales( const QString& localeGenPath )
|
|||
|
||||
Config::Config( QObject* parent )
|
||||
: QObject( parent )
|
||||
, m_regionModel( std::make_unique< CalamaresUtils::Locale::CStringListModel >(
|
||||
CalamaresUtils::Locale::TZRegion::fromZoneTab() ) )
|
||||
, m_zonesModel( std::make_unique< CalamaresUtils::Locale::CStringListModel >() )
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue