[keyboardq] Drop unnecessary variable -- just use the Config status
This commit is contained in:
parent
f6e6774f92
commit
8142d6f86c
@ -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 );
|
||||
}
|
||||
|
@ -49,8 +49,6 @@ public:
|
||||
private:
|
||||
Config* m_config;
|
||||
bool m_nextEnabled;
|
||||
QString m_prettyStatus;
|
||||
|
||||
};
|
||||
|
||||
CALAMARES_PLUGIN_FACTORY_DECLARATION( KeyboardQmlViewStepFactory )
|
||||
|
Loading…
Reference in New Issue
Block a user