diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-10 20:16:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-10 20:47:24 +0300 |
commit | 6c9c56b70db43f4100863d312835fce763698008 (patch) | |
tree | 4a182019f18677c1b71202a79d8f4faceebe05c9 /src/utils/paths.cpp | |
parent | 5e7866bd7cc3bf850d9ba3e636d8eca88ac797c7 (diff) | |
download | plus-6c9c56b70db43f4100863d312835fce763698008.tar.gz plus-6c9c56b70db43f4100863d312835fce763698008.tar.bz2 plus-6c9c56b70db43f4100863d312835fce763698008.tar.xz plus-6c9c56b70db43f4100863d312835fce763698008.zip |
Rename physfstools into virtfs.
Diffstat (limited to 'src/utils/paths.cpp')
-rw-r--r-- | src/utils/paths.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/utils/paths.cpp b/src/utils/paths.cpp index a24239e34..be4e31a7f 100644 --- a/src/utils/paths.cpp +++ b/src/utils/paths.cpp @@ -26,7 +26,7 @@ #include "utils/paths.h" -#include "utils/physfstools.h" +#include "utils/virtfs.h" #include "utils/stringutils.h" #ifdef USE_X11 @@ -172,7 +172,7 @@ std::string getPicturesDir() std::string file; if (!xdg) { - file = std::string(PhysFs::getUserDir()).append( + file = std::string(VirtFs::getUserDir()).append( "/.config/user-dirs.dirs"); } else @@ -190,18 +190,18 @@ std::string getPicturesDir() str = str.substr(0, str.size() - 1); // use hack to replace $HOME var. // if in string other vars, fallback to default path - replaceAll(str, "$HOME/", PhysFs::getUserDir()); + replaceAll(str, "$HOME/", VirtFs::getUserDir()); str = getRealPath(str); if (str.empty()) - str = std::string(PhysFs::getUserDir()).append("Desktop"); + str = std::string(VirtFs::getUserDir()).append("Desktop"); return str; } } - return std::string(PhysFs::getUserDir()).append("Desktop"); + return std::string(VirtFs::getUserDir()).append("Desktop"); #else // WIN32 - return std::string(PhysFs::getUserDir()).append("Desktop"); + return std::string(VirtFs::getUserDir()).append("Desktop"); #endif // WIN32 } |