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

View File

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