summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-07 02:48:12 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-08 16:46:28 +0300
commit27a2dd4fce2d529cd1d96aa5ddce1e74b4f54a2f (patch)
treec2c38e1b4f308ca885dc3c3581560cfbc6833a8e /src/actions/actions.cpp
parentd4e28aa97cbce34a0053d3c02cf070ef9065439f (diff)
downloadmanaplus-27a2dd4fce2d529cd1d96aa5ddce1e74b4f54a2f.tar.gz
manaplus-27a2dd4fce2d529cd1d96aa5ddce1e74b4f54a2f.tar.bz2
manaplus-27a2dd4fce2d529cd1d96aa5ddce1e74b4f54a2f.tar.xz
manaplus-27a2dd4fce2d529cd1d96aa5ddce1e74b4f54a2f.zip
Move resourcemanager from class to namespace.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index b4fadf62d..c6d48a1d9 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1038,7 +1038,7 @@ impHandler0(who)
impHandler0(cleanGraphics)
{
- resourceManager->clearCache();
+ ResourceManager::clearCache();
if (debugChatTab)
{
@@ -1274,20 +1274,20 @@ impHandler(dump)
if (!event.args.empty())
{
- ResourceManager::Resources *res = resourceManager->getResources();
+ ResourceManager::Resources *res = ResourceManager::getResources();
// TRANSLATORS: dump command
showRes(_("Resource images:"), res);
- res = resourceManager->getOrphanedResources();
+ res = ResourceManager::getOrphanedResources();
// TRANSLATORS: dump command
showRes(_("Resource orphaned images:"), res);
}
else
{
- ResourceManager::Resources *res = resourceManager->getResources();
+ ResourceManager::Resources *res = ResourceManager::getResources();
// TRANSLATORS: dump command
debugChatTab->chatLog(_("Resource images:") + toString(res->size()),
ChatMsgType::BY_SERVER);
- res = resourceManager->getOrphanedResources();
+ res = ResourceManager::getOrphanedResources();
// TRANSLATORS: dump command
debugChatTab->chatLog(_("Resource orphaned images:")
+ toString(res->size()),