From bf744ac8bb1a323103e16950fa3228cca033f6cc Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Thu, 7 Apr 2011 10:41:08 -0400 Subject: [PATCH] Ah-whoops, knew I forgot something in my previous commit --- src/infosystem/infosystemcache.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/infosystem/infosystemcache.cpp b/src/infosystem/infosystemcache.cpp index e6e7b04f5..67bdea896 100644 --- a/src/infosystem/infosystemcache.cpp +++ b/src/infosystem/infosystemcache.cpp @@ -82,8 +82,11 @@ InfoSystemCache::getCachedInfoSlot( Tomahawk::InfoSystem::InfoCacheCriteria crit QHash< InfoCacheCriteria, QVariant > typedatacache = m_dataCache[type]; QHash< InfoCacheCriteria, QDateTime > typeinserttimecache = m_insertTimeCache[type]; typemaxtimecache.remove( criteria ); + m_maxTimeCache[type] = typemaxtimecache; typedatacache.remove( criteria ); + m_dataCache[type] = typedatacache; typeinserttimecache.remove( criteria ); + m_insertTimeCache[type] = typeinserttimecache; m_dirtySet.insert( type ); emit notInCache( criteria, caller, type, input, customData ); return;