summaryrefslogtreecommitdiff
path: root/src/gui/windowmanager.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/windowmanager.cpp
parentbdec92381ef60cd027292ed63e254e8de70028d9 (diff)
downloadmanaverse-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.gz
manaverse-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.bz2
manaverse-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.xz
manaverse-56d6454ba617d1dcddbbaa21e2066a7db0caee75.zip
Move some virtfs replated functions from files.cpp into virtfstools.cpp
Diffstat (limited to 'src/gui/windowmanager.cpp')
-rw-r--r--src/gui/windowmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windowmanager.cpp b/src/gui/windowmanager.cpp
index 4b735f058..aa61bcb09 100644
--- a/src/gui/windowmanager.cpp
+++ b/src/gui/windowmanager.cpp
@@ -60,6 +60,7 @@
#include "utils/files.h"
#include "utils/sdlcheckutils.h"
#include "utils/sdlhelper.h"
+#include "utils/virtfstools.h"
#ifdef __native_client__
#include "utils/naclmessages.h"
#endif // __native_client__
@@ -363,7 +364,7 @@ void WindowManager::setIcon()
iconFile.append(".png");
#endif // WIN32
- iconFile = Files::getPath(iconFile);
+ iconFile = VirtFs::getPath(iconFile);
logger->log("Loading icon from file: %s", iconFile.c_str());
#ifdef WIN32