Really disable caching when caching is disabled (hehe)
svn path=/trunk/KDE/kdebase/workspace/; revision=1171078
This commit is contained in:
parent
04c6196d77
commit
72ebe28e12
1 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ namespace Oxygen
|
|||
|
||||
// check if tileset already in cache
|
||||
int hash( key.hash() );
|
||||
if( shadowCache_.contains(hash) ) return shadowCache_.object(hash);
|
||||
if( enabled_ && shadowCache_.contains(hash) ) return shadowCache_.object(hash);
|
||||
|
||||
// create tileset otherwise
|
||||
qreal size( shadowSize() );
|
||||
|
@ -94,7 +94,7 @@ namespace Oxygen
|
|||
|
||||
// check if tileset already in cache
|
||||
int hash( key.hash() );
|
||||
if( animatedShadowCache_.contains(hash) ) return animatedShadowCache_.object(hash);
|
||||
if( enabled_ && animatedShadowCache_.contains(hash) ) return animatedShadowCache_.object(hash);
|
||||
|
||||
// create shadow and tileset otherwise
|
||||
qreal size( shadowSize() );
|
||||
|
|
Loading…
Reference in a new issue