[keyboard] Remove superfluous variable (set to true, never changed)

main
Adriaan de Groot 5 years ago
parent 8cf3bd23b9
commit 4a3273d634

@ -21,11 +21,9 @@ KeyboardViewStep::KeyboardViewStep( QObject* parent )
: Calamares::ViewStep( parent )
, m_config( new Config(this) )
, m_widget( new KeyboardPage() )
, m_nextEnabled( false )
{
m_config->detectCurrentKeyboardLayout();
m_nextEnabled = true;
emit nextStatusChanged( m_nextEnabled );
emit nextStatusChanged( true );
}
@ -62,7 +60,7 @@ KeyboardViewStep::widget()
bool
KeyboardViewStep::isNextEnabled() const
{
return m_nextEnabled;
return true;
}

@ -49,7 +49,6 @@ public:
private:
Config* m_config;
KeyboardPage* m_widget;
bool m_nextEnabled;
};
CALAMARES_PLUGIN_FACTORY_DECLARATION( KeyboardViewStepFactory )

Loading…
Cancel
Save