summaryrefslogtreecommitdiff
path: root/src/gui/theme.cpp
diff options
context:
space:
mode:
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);
}