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

This commit is contained in:
Adriaan de Groot 2020-10-27 16:59:22 +01:00
parent 8cf3bd23b9
commit 4a3273d634
2 changed files with 2 additions and 5 deletions

View File

@ -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;
}

View File

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