- QString path = DownloadManager::instance()->currentDownloadFolder();
-#if QT_VERSION >= 0x050000
- QString home = QStandardPaths::writableLocation(QStandardPaths::HomeLocation);
-#else
- QString home = QDesktopServices::storageLocation(QDesktopServices::HomeLocation);
-#endif
+ const QString path = DownloadManager::instance()->currentDownloadFolder();
+ const QString home = Paths::getHomeLocation();