[keyboard] Remove superfluous variable (set to true, never changed)
This commit is contained in:
parent
8cf3bd23b9
commit
4a3273d634
@ -21,11 +21,9 @@ KeyboardViewStep::KeyboardViewStep( QObject* parent )
|
|||||||
: Calamares::ViewStep( parent )
|
: Calamares::ViewStep( parent )
|
||||||
, m_config( new Config(this) )
|
, m_config( new Config(this) )
|
||||||
, m_widget( new KeyboardPage() )
|
, m_widget( new KeyboardPage() )
|
||||||
, m_nextEnabled( false )
|
|
||||||
{
|
{
|
||||||
m_config->detectCurrentKeyboardLayout();
|
m_config->detectCurrentKeyboardLayout();
|
||||||
m_nextEnabled = true;
|
emit nextStatusChanged( true );
|
||||||
emit nextStatusChanged( m_nextEnabled );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -62,7 +60,7 @@ KeyboardViewStep::widget()
|
|||||||
bool
|
bool
|
||||||
KeyboardViewStep::isNextEnabled() const
|
KeyboardViewStep::isNextEnabled() const
|
||||||
{
|
{
|
||||||
return m_nextEnabled;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -49,7 +49,6 @@ public:
|
|||||||
private:
|
private:
|
||||||
Config* m_config;
|
Config* m_config;
|
||||||
KeyboardPage* m_widget;
|
KeyboardPage* m_widget;
|
||||||
bool m_nextEnabled;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
CALAMARES_PLUGIN_FACTORY_DECLARATION( KeyboardViewStepFactory )
|
CALAMARES_PLUGIN_FACTORY_DECLARATION( KeyboardViewStepFactory )
|
||||||
|
Loading…
Reference in New Issue
Block a user