summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/chatwindow.cpp4
-rw-r--r--src/gui/windows/helpwindow.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index e94d39dbe..094faea6d 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -71,7 +71,7 @@
#include "utils/copynpaste.h"
#include "utils/delete2.h"
-#include "utils/files.h"
+#include "utils/virtfstools.h"
#include <sys/stat.h>
@@ -227,7 +227,7 @@ void ChatWindow::postInit()
void ChatWindow::loadCommandsFile(const std::string &name)
{
StringVect list;
- Files::loadTextFile(name, list);
+ VirtFs::loadTextFile(name, list);
StringVectCIter it = list.begin();
const StringVectCIter it_end = list.end();
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;