aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/cacheobject.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2013-03-18 20:48:16 +0000
committerMike Buland <eichlan@xagasoft.com>2013-03-18 20:48:16 +0000
commit8cdac01404433c8ad9651a5b87b496ea548c883e (patch)
tree8adbea0e98d5e2fe0b65bcadc37e1a474ad5c0f1 /src/unstable/cacheobject.h
parent92a6325b02d2a41d7c36993f7b230302f672a4ba (diff)
downloadlibbu++-8cdac01404433c8ad9651a5b87b496ea548c883e.tar.gz
libbu++-8cdac01404433c8ad9651a5b87b496ea548c883e.tar.bz2
libbu++-8cdac01404433c8ad9651a5b87b496ea548c883e.tar.xz
libbu++-8cdac01404433c8ad9651a5b87b496ea548c883e.zip
Cache object handles changed() events when no cache has been set cleanly now.
Diffstat (limited to 'src/unstable/cacheobject.h')
-rw-r--r--src/unstable/cacheobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unstable/cacheobject.h b/src/unstable/cacheobject.h
index 0088685..d8ed431 100644
--- a/src/unstable/cacheobject.h
+++ b/src/unstable/cacheobject.h
@@ -60,7 +60,7 @@ namespace Bu
60 protected: 60 protected:
61 void changed( bool bChanged=true ) 61 void changed( bool bChanged=true )
62 { 62 {
63 if( this->bChanged == false && bChanged == true ) 63 if( this->bChanged == false && bChanged == true && pCache )
64 pCache->objectChanged( getKey() ); 64 pCache->objectChanged( getKey() );
65 65
66 this->bChanged = bChanged; 66 this->bChanged = bChanged;