Replace platform-specific code in Private::DefaultProfile with QStandardPaths.

This should also fix Profile::location(SpecialFolder::Config) on
Windows.
This commit is contained in:
Eugene Shalygin
2017-04-18 15:29:10 +02:00
parent 2045c38005
commit b06080e2e7
4 changed files with 45 additions and 87 deletions

View File

@@ -90,9 +90,9 @@ QString Profile::location(SpecialFolder folder) const
return result;
}
QString Profile::configurationName() const
QString Profile::profileName() const
{
return m_profileImpl->configurationName();
return m_profileImpl->profileName();
}
SettingsPtr Profile::applicationSettings(const QString &name) const