diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-14 22:41:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-14 22:41:07 +0300 |
commit | 56d6454ba617d1dcddbbaa21e2066a7db0caee75 (patch) | |
tree | 5012e55f393db2d62b40eb64142fa4317b16c571 /src/gui/theme.cpp | |
parent | bdec92381ef60cd027292ed63e254e8de70028d9 (diff) | |
download | manaverse-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.gz manaverse-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.bz2 manaverse-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.xz manaverse-56d6454ba617d1dcddbbaa21e2066a7db0caee75.zip |
Move some virtfs replated functions from files.cpp into virtfstools.cpp
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r-- | src/gui/theme.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index 0c3d80a50..f77146751 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -47,6 +47,7 @@ #include "utils/dtor.h" #include "utils/files.h" #include "utils/virtfs.h" +#include "utils/virtfstools.h" #include "utils/virtlist.h" #include "debug.h" @@ -566,13 +567,13 @@ bool Theme::tryThemePath(const std::string &themeName) void Theme::fillSkinsList(StringVect &list) { - Files::getDirs(branding.getStringValue("guiThemePath"), list); + VirtFs::getDirs(branding.getStringValue("guiThemePath"), list); } void Theme::fillFontsList(StringVect &list) { VirtFs::permitLinks(true); - Files::getFiles(branding.getStringValue("fontsPath"), list); + VirtFs::getFiles(branding.getStringValue("fontsPath"), list); VirtFs::permitLinks(false); } |