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

@@ -148,7 +148,7 @@ bool upgrade(bool ask = true)
// Upgrade preferences
Preferences::instance()->upgrade();
QString backupFolderPath = Utils::Fs::expandPathAbs(Utils::Fs::QDesktopServicesDataLocation() + "BT_backup");
QString backupFolderPath = Utils::Fs::expandPathAbs(specialFolderLocation(SpecialFolder::Data) + "BT_backup");
QDir backupFolderDir(backupFolderPath);
// ****************************************************************************************