mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04:00
Fix warnings.
This commit is contained in:
parent
e5af056e27
commit
39782f80c9
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
|
|
||||||
LocalePage::LocalePage( QWidget* parent )
|
LocalePage::LocalePage( QWidget* parent )
|
||||||
: QWidget()
|
: QWidget( parent )
|
||||||
, m_blockTzWidgetSet( false )
|
, m_blockTzWidgetSet( false )
|
||||||
{
|
{
|
||||||
QBoxLayout* mainLayout = new QVBoxLayout;
|
QBoxLayout* mainLayout = new QVBoxLayout;
|
||||||
|
@ -113,6 +113,7 @@ LocalePage::LocalePage( QWidget* parent )
|
||||||
static_cast< void ( QComboBox::* )( int ) >( &QComboBox::currentIndexChanged ),
|
static_cast< void ( QComboBox::* )( int ) >( &QComboBox::currentIndexChanged ),
|
||||||
[this]( int currentIndex )
|
[this]( int currentIndex )
|
||||||
{
|
{
|
||||||
|
Q_UNUSED( currentIndex )
|
||||||
if ( !m_blockTzWidgetSet )
|
if ( !m_blockTzWidgetSet )
|
||||||
m_tzWidget->setCurrentLocation( m_regionCombo->currentData().toString(),
|
m_tzWidget->setCurrentLocation( m_regionCombo->currentData().toString(),
|
||||||
m_zoneCombo->currentData().toString() );
|
m_zoneCombo->currentData().toString() );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue