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

This commit is contained in:
Adriaan de Groot 2020-10-27 16:55:02 +01:00
parent 734dbece8a
commit 8cf3bd23b9
2 changed files with 2 additions and 5 deletions

View File

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

View File

@ -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 )