[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
|
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 );
|
||||||
}
|
}
|
||||||
|
@ -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 )
|
||||||
|
Loading…
Reference in New Issue
Block a user