diff options
author | mrwastl <mrwastl@users.sourceforge.net> | 2011-05-07 21:15:13 +0200 |
---|---|---|
committer | mrwastl <mrwastl@users.sourceforge.net> | 2011-05-07 21:15:13 +0200 |
commit | 00e8503d301acc98c012b4ebd5467ebcd99915d0 (patch) | |
tree | 8d4bad9142a375566f558ae3f866534cf5d043aa /glcdskin/cache.h | |
parent | 36ea730a7024db3a9738183f870367153f1b1578 (diff) | |
download | graphlcd-base-00e8503d301acc98c012b4ebd5467ebcd99915d0.tar.gz graphlcd-base-00e8503d301acc98c012b4ebd5467ebcd99915d0.tar.bz2 |
store failed image paths in image cache and take these into account when loading images -> no more flooding of /var/log/messages
Diffstat (limited to 'glcdskin/cache.h')
-rw-r--r-- | glcdskin/cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glcdskin/cache.h b/glcdskin/cache.h index 925ebcc..3862b51 100644 --- a/glcdskin/cache.h +++ b/glcdskin/cache.h @@ -46,6 +46,7 @@ private: cSkin * skin; size_t size; std::vector <cImageItem *> images; + std::vector <std::string> failedpaths; cImageItem * LoadImage(const std::string & path); public: |