diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-07 02:48:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-08 16:46:28 +0300 |
commit | 27a2dd4fce2d529cd1d96aa5ddce1e74b4f54a2f (patch) | |
tree | c2c38e1b4f308ca885dc3c3581560cfbc6833a8e /src/actions | |
parent | d4e28aa97cbce34a0053d3c02cf070ef9065439f (diff) | |
download | plus-27a2dd4fce2d529cd1d96aa5ddce1e74b4f54a2f.tar.gz plus-27a2dd4fce2d529cd1d96aa5ddce1e74b4f54a2f.tar.bz2 plus-27a2dd4fce2d529cd1d96aa5ddce1e74b4f54a2f.tar.xz plus-27a2dd4fce2d529cd1d96aa5ddce1e74b4f54a2f.zip |
Move resourcemanager from class to namespace.
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/actions.cpp | 10 |
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()), |