Replace wrappers in base/utils/fs.h with Profile::SpecialFolders::location()

This commit is contained in:
Eugene Shalygin 2016-05-11 13:25:29 +02:00
parent 44b6cb28f6
commit 0bf7fa15c1
9 changed files with 20 additions and 43 deletions

View file

@ -174,7 +174,8 @@ void Application::setFileLoggerEnabled(bool value)
QString Application::fileLoggerPath() const
{
return settings()->loadValue(KEY_FILELOGGER_PATH, QVariant(Utils::Fs::QDesktopServicesDataLocation() + LOG_FOLDER)).toString();
return settings()->loadValue(KEY_FILELOGGER_PATH,
QVariant(specialFolderLocation(SpecialFolder::Data) + LOG_FOLDER)).toString();
}
void Application::setFileLoggerPath(const QString &value)