summaryrefslogtreecommitdiff
path: root/src/utils/paths.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-10 20:16:03 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-10 20:47:24 +0300
commit6c9c56b70db43f4100863d312835fce763698008 (patch)
tree4a182019f18677c1b71202a79d8f4faceebe05c9 /src/utils/paths.cpp
parent5e7866bd7cc3bf850d9ba3e636d8eca88ac797c7 (diff)
downloadmv-6c9c56b70db43f4100863d312835fce763698008.tar.gz
mv-6c9c56b70db43f4100863d312835fce763698008.tar.bz2
mv-6c9c56b70db43f4100863d312835fce763698008.tar.xz
mv-6c9c56b70db43f4100863d312835fce763698008.zip
Rename physfstools into virtfs.
Diffstat (limited to 'src/utils/paths.cpp')
-rw-r--r--src/utils/paths.cpp12
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
}