[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;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QMap< QString, QString >
|
|
||||||
LocalePage::localesMap()
|
|
||||||
{
|
|
||||||
return m_config->localeConfiguration().toMap();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
LocalePage::onActivate()
|
LocalePage::onActivate()
|
||||||
{
|
{
|
||||||
|
@ -45,8 +45,6 @@ public:
|
|||||||
|
|
||||||
QString prettyStatus() const;
|
QString prettyStatus() const;
|
||||||
|
|
||||||
QMap< QString, QString > localesMap();
|
|
||||||
|
|
||||||
void onActivate();
|
void onActivate();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -169,7 +169,7 @@ LocaleViewStep::onLeave()
|
|||||||
m_jobs = m_config->createJobs();
|
m_jobs = m_config->createJobs();
|
||||||
m_prettyStatus = m_actualWidget->prettyStatus();
|
m_prettyStatus = m_actualWidget->prettyStatus();
|
||||||
|
|
||||||
auto map = m_actualWidget->localesMap();
|
auto map = m_config->localeConfiguration().toMap();
|
||||||
QVariantMap vm;
|
QVariantMap vm;
|
||||||
for ( auto it = map.constBegin(); it != map.constEnd(); ++it )
|
for ( auto it = map.constBegin(); it != map.constEnd(); ++it )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user