diff --git a/src/modules/locale/LocalePage.cpp b/src/modules/locale/LocalePage.cpp
index 2250ebae30b6d535852822833c103bf15e679e28..abeabca892e3b76b913c84c532417413b07a2a13 100644
--- a/src/modules/locale/LocalePage.cpp
+++ b/src/modules/locale/LocalePage.cpp
@@ -34,7 +34,7 @@
 
 
 LocalePage::LocalePage( QWidget* parent )
-    : QWidget()
+    : QWidget( parent )
     , m_blockTzWidgetSet( false )
 {
     QBoxLayout* mainLayout = new QVBoxLayout;
@@ -113,6 +113,7 @@ LocalePage::LocalePage( QWidget* parent )
              static_cast< void ( QComboBox::* )( int ) >( &QComboBox::currentIndexChanged ),
              [this]( int currentIndex )
     {
+        Q_UNUSED( currentIndex )
         if ( !m_blockTzWidgetSet )
             m_tzWidget->setCurrentLocation( m_regionCombo->currentData().toString(),
                                             m_zoneCombo->currentData().toString() );