[keyboardq] Drop unnecessary variable -- just use the Config status

This commit is contained in:
Adriaan de Groot 2020-10-27 15:42:27 +01:00
parent f6e6774f92
commit 8142d6f86c
2 changed files with 1 additions and 5 deletions

View File

@ -37,7 +37,7 @@ KeyboardQmlViewStep::prettyName() const
QString QString
KeyboardQmlViewStep::prettyStatus() const KeyboardQmlViewStep::prettyStatus() const
{ {
return m_prettyStatus; return m_config->prettyStatus();
} }
bool bool
@ -80,7 +80,6 @@ void
KeyboardQmlViewStep::onLeave() KeyboardQmlViewStep::onLeave()
{ {
m_config->finalize(); m_config->finalize();
m_prettyStatus = m_config->prettyStatus();
} }
QObject* QObject*
@ -92,6 +91,5 @@ KeyboardQmlViewStep::getConfig()
void void
KeyboardQmlViewStep::setConfigurationMap( const QVariantMap& configurationMap ) KeyboardQmlViewStep::setConfigurationMap( const QVariantMap& configurationMap )
{ {
Calamares::QmlViewStep::setConfigurationMap( configurationMap ); Calamares::QmlViewStep::setConfigurationMap( configurationMap );
} }

View File

@ -49,8 +49,6 @@ public:
private: private:
Config* m_config; Config* m_config;
bool m_nextEnabled; bool m_nextEnabled;
QString m_prettyStatus;
}; };
CALAMARES_PLUGIN_FACTORY_DECLARATION( KeyboardQmlViewStepFactory ) CALAMARES_PLUGIN_FACTORY_DECLARATION( KeyboardQmlViewStepFactory )