Move FileSystem utility functions out of misc.h

Use new fs_utils.h instead.
This commit is contained in:
Christophe Dumez
2012-05-16 21:19:05 +03:00
parent e6e63fa529
commit 0f291629cc
23 changed files with 658 additions and 527 deletions

View File

@@ -46,6 +46,7 @@
#endif
#include "misc.h"
#include "fs_utils.h"
#include "qinisettings.h"
#define QBT_REALM "Web UI Access"
@@ -185,7 +186,7 @@ public:
QString save_path = value(QString::fromUtf8("Preferences/Downloads/SavePath")).toString();
if (!save_path.isEmpty())
return save_path;
return misc::QDesktopServicesDownloadLocation();
return fsutils::QDesktopServicesDownloadLocation();
}
void setSavePath(const QString &save_path) {