summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-03 04:09:42 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-03 04:09:42 +0300
commit8a0b2b0a7b046dbb27d0dddd63590f6a47560956 (patch)
tree9ca92c55797d5b35b906c90d16b8e6b872a27ef7 /src
parentc3a3ee96b1a5b8a94334b3a900b5cc29ba6571cc (diff)
downloadplus-8a0b2b0a7b046dbb27d0dddd63590f6a47560956.tar.gz
plus-8a0b2b0a7b046dbb27d0dddd63590f6a47560956.tar.bz2
plus-8a0b2b0a7b046dbb27d0dddd63590f6a47560956.tar.xz
plus-8a0b2b0a7b046dbb27d0dddd63590f6a47560956.zip
Hide for now errors messages "no resource in cache".
Diffstat (limited to 'src')
-rw-r--r--src/resources/resourcemanager/resourcemanager.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/resources/resourcemanager/resourcemanager.cpp b/src/resources/resourcemanager/resourcemanager.cpp
index 9ed7b6dde..0a28ac83a 100644
--- a/src/resources/resourcemanager/resourcemanager.cpp
+++ b/src/resources/resourcemanager/resourcemanager.cpp
@@ -491,8 +491,9 @@ void release(Resource *const res)
if (resIter == mResources.end())
{
- reportAlways("no resource in cache: %s",
- res->mIdPath.c_str());
+// +++ need reenable after Resource will have type field
+// reportAlways("no resource in cache: %s",
+// res->mIdPath.c_str());
delete res;
return;
}