[locale] Remove redundant method
- configuration information lives in the Config object
This commit is contained in:
parent
abc98cfa79
commit
855b21a7db
@ -171,14 +171,6 @@ LocalePage::prettyStatus() const
|
||||
return status;
|
||||
}
|
||||
|
||||
|
||||
QMap< QString, QString >
|
||||
LocalePage::localesMap()
|
||||
{
|
||||
return m_config->localeConfiguration().toMap();
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
LocalePage::onActivate()
|
||||
{
|
||||
|
@ -45,8 +45,6 @@ public:
|
||||
|
||||
QString prettyStatus() const;
|
||||
|
||||
QMap< QString, QString > localesMap();
|
||||
|
||||
void onActivate();
|
||||
|
||||
private:
|
||||
|
@ -169,7 +169,7 @@ LocaleViewStep::onLeave()
|
||||
m_jobs = m_config->createJobs();
|
||||
m_prettyStatus = m_actualWidget->prettyStatus();
|
||||
|
||||
auto map = m_actualWidget->localesMap();
|
||||
auto map = m_config->localeConfiguration().toMap();
|
||||
QVariantMap vm;
|
||||
for ( auto it = map.constBegin(); it != map.constEnd(); ++it )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user