[welcomeq] Adjust to Config-API that QmlViewStep expects

This commit is contained in:
Adriaan de Groot 2020-03-11 16:49:07 +01:00
parent 862b05221d
commit 7d99ad3177
2 changed files with 3 additions and 3 deletions

View File

@ -167,8 +167,8 @@ WelcomeQmlViewStep::checkRequirements()
return m_requirementsChecker->checkRequirements();
}
Config*
WelcomeQmlViewStep::config() const
QObject*
WelcomeQmlViewStep::getConfig()
{
return m_config;
}

View File

@ -71,7 +71,7 @@ public:
void setCountry( const QString&, CalamaresUtils::GeoIP::Handler* handler );
Calamares::RequirementsList checkRequirements() override;
Config* config() const;
QObject* getConfig() override;
private:
// TODO: a generic QML viewstep should return a config object from a method