mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 10:55:37 -04:00
[locale] remove unneeded this->
This commit is contained in:
parent
c6671f9495
commit
27d4fa675b
1 changed files with 4 additions and 4 deletions
|
@ -81,16 +81,16 @@ Config::setLocaleInfo( const QString& initialRegion, const QString& initialZone,
|
|||
auto* region = m_regionList.find< TZRegion >( initialRegion );
|
||||
if ( region && region->zones().find< TZZone >( initialZone ) )
|
||||
{
|
||||
this->m_regionModel->setCurrentIndex( m_regionModel->indexOf( initialRegion ) );
|
||||
m_regionModel->setCurrentIndex( m_regionModel->indexOf( initialRegion ) );
|
||||
m_zonesModel->setList( region->zones() );
|
||||
this->m_zonesModel->setCurrentIndex( m_zonesModel->indexOf( initialZone ) );
|
||||
m_zonesModel->setCurrentIndex( m_zonesModel->indexOf( initialZone ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
this->m_regionModel->setCurrentIndex( m_regionModel->indexOf( "America" ) );
|
||||
m_regionModel->setCurrentIndex( m_regionModel->indexOf( "America" ) );
|
||||
m_zonesModel->setList(
|
||||
static_cast< const TZRegion* >( m_regionModel->item( m_regionModel->currentIndex() ) )->zones() );
|
||||
this->m_zonesModel->setCurrentIndex( m_zonesModel->indexOf( "New_York" ) );
|
||||
m_zonesModel->setCurrentIndex( m_zonesModel->indexOf( "New_York" ) );
|
||||
}
|
||||
|
||||
// Some distros come with a meaningfully commented and easy to parse locale.gen,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue