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
commit b06080e2e7
4 changed files with 45 additions and 87 deletions

View file

@ -63,7 +63,7 @@ public:
/// Returns either default name for configuration file (QCoreApplication::applicationName())
/// or the value, supplied via parameters
QString configurationName() const;
QString profileName() const;
QString toPortablePath(const QString &absolutePath) const;
QString fromPortablePath(const QString &portablePath) const;