[keyboardq] Remove superfluous variable (set to true, never changed)
This commit is contained in:
parent
734dbece8a
commit
8cf3bd23b9
@ -21,11 +21,9 @@ CALAMARES_PLUGIN_FACTORY_DEFINITION( KeyboardQmlViewStepFactory, registerPlugin<
|
|||||||
KeyboardQmlViewStep::KeyboardQmlViewStep( QObject* parent )
|
KeyboardQmlViewStep::KeyboardQmlViewStep( QObject* parent )
|
||||||
: Calamares::QmlViewStep( parent )
|
: Calamares::QmlViewStep( parent )
|
||||||
, m_config( new Config( this ) )
|
, m_config( new Config( this ) )
|
||||||
, m_nextEnabled( false )
|
|
||||||
{
|
{
|
||||||
m_config->detectCurrentKeyboardLayout();
|
m_config->detectCurrentKeyboardLayout();
|
||||||
m_nextEnabled = true;
|
emit nextStatusChanged( true );
|
||||||
emit nextStatusChanged( m_nextEnabled );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QString
|
QString
|
||||||
@ -43,7 +41,7 @@ KeyboardQmlViewStep::prettyStatus() const
|
|||||||
bool
|
bool
|
||||||
KeyboardQmlViewStep::isNextEnabled() const
|
KeyboardQmlViewStep::isNextEnabled() const
|
||||||
{
|
{
|
||||||
return m_nextEnabled;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
@ -45,7 +45,6 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
Config* m_config;
|
Config* m_config;
|
||||||
bool m_nextEnabled;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
CALAMARES_PLUGIN_FACTORY_DECLARATION( KeyboardQmlViewStepFactory )
|
CALAMARES_PLUGIN_FACTORY_DECLARATION( KeyboardQmlViewStepFactory )
|
||||||
|
Loading…
Reference in New Issue
Block a user