diff options
author | Mike Buland <eichlan@xagasoft.com> | 2013-03-18 20:48:16 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2013-03-18 20:48:16 +0000 |
commit | 8cdac01404433c8ad9651a5b87b496ea548c883e (patch) | |
tree | 8adbea0e98d5e2fe0b65bcadc37e1a474ad5c0f1 /src/unstable/cacheobject.h | |
parent | 92a6325b02d2a41d7c36993f7b230302f672a4ba (diff) | |
download | libbu++-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 '')
-rw-r--r-- | src/unstable/cacheobject.h | 2 |
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; |