summaryrefslogtreecommitdiff
path: root/src/gui/windows/helpwindow.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/windows/helpwindow.cpp
parentbdec92381ef60cd027292ed63e254e8de70028d9 (diff)
downloadmanaplus-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.gz
manaplus-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.bz2
manaplus-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.xz
manaplus-56d6454ba617d1dcddbbaa21e2066a7db0caee75.zip
Move some virtfs replated functions from files.cpp into virtfstools.cpp
Diffstat (limited to 'src/gui/windows/helpwindow.cpp')
-rw-r--r--src/gui/windows/helpwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/helpwindow.cpp b/src/gui/windows/helpwindow.cpp
index 62c341ac3..e1ba2de30 100644
--- a/src/gui/windows/helpwindow.cpp
+++ b/src/gui/windows/helpwindow.cpp
@@ -38,9 +38,9 @@
#include "gui/widgets/scrollarea.h"
#include "utils/gettext.h"
-#include "utils/files.h"
#include "utils/paths.h"
#include "utils/process.h"
+#include "utils/virtfstools.h"
#include "utils/translation/podict.h"
#include "utils/translation/translationmanager.h"
@@ -161,11 +161,11 @@ void HelpWindow::loadTags()
helpPath = paths.getStringValue("tags");
StringVect filesVect;
- Files::getFilesInDir(helpPath, filesVect, ".idx");
+ VirtFs::getFilesInDir(helpPath, filesVect, ".idx");
FOR_EACH (StringVectCIter, itVect, filesVect)
{
StringVect lines;
- Files::loadTextFile(*itVect, lines);
+ VirtFs::loadTextFile(*itVect, lines);
FOR_EACH (StringVectCIter, it, lines)
{
const std::string &str = *it;