summaryrefslogtreecommitdiff
path: root/src/resources/db/badgesdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/badgesdb.cpp')
-rw-r--r--src/resources/db/badgesdb.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/resources/db/badgesdb.cpp b/src/resources/db/badgesdb.cpp
index 9e7a7fad4..031d78945 100644
--- a/src/resources/db/badgesdb.cpp
+++ b/src/resources/db/badgesdb.cpp
@@ -22,7 +22,7 @@
#include "configuration.h"
-#include "utils/files.h"
+#include "utils/virtfstools.h"
#include "utils/xmlutils.h"
#include "debug.h"
@@ -58,8 +58,10 @@ static void loadDB(const std::string &name, BadgesInfos &arr)
name, arr, SkipError_true);
StringVect listVect;
- Files::getFilesInDir(paths.getStringValue(
- "badgesPatchDir"), listVect, ".xml");
+ VirtFs::getFilesInDir(paths.getStringValue(
+ "badgesPatchDir"),
+ listVect,
+ ".xml");
FOR_EACH (StringVectCIter, itVect, listVect)
loadXmlFile(*itVect, name, arr, SkipError_true);
}