summaryrefslogtreecommitdiff
path: root/src/gui/theme.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-14 22:41:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-14 22:41:07 +0300
commit56d6454ba617d1dcddbbaa21e2066a7db0caee75 (patch)
tree5012e55f393db2d62b40eb64142fa4317b16c571 /src/gui/theme.cpp
parentbdec92381ef60cd027292ed63e254e8de70028d9 (diff)
downloadmv-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.gz
mv-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.bz2
mv-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.xz
mv-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.cpp5
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);
}