summaryrefslogtreecommitdiff
path: root/src/resources/db/badgesdb.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/resources/db/badgesdb.cpp
parentbdec92381ef60cd027292ed63e254e8de70028d9 (diff)
downloadplus-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.gz
plus-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.bz2
plus-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.xz
plus-56d6454ba617d1dcddbbaa21e2066a7db0caee75.zip
Move some virtfs replated functions from files.cpp into virtfstools.cpp
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);
}