The elements cache now expects the element mtime to be equal to the one stored in the cache entry.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1841 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2012-05-14 19:23:30 +00:00
parent 191fbab78e
commit 81c0532fc2
2 changed files with 15 additions and 12 deletions

View File

@@ -49,8 +49,8 @@ class ElementsCollectionCache : public QObject {
bool fetchData(const ElementsLocation &);
bool fetchNameFromCache(const QString &, const QDateTime &);
bool fetchPixmapFromCache(const QString &, const QDateTime &);
bool cacheName(const QString &);
bool cachePixmap(const QString &);
bool cacheName(const QString &, const QDateTime & = QDateTime::currentDateTime());
bool cachePixmap(const QString &, const QDateTime & = QDateTime::currentDateTime());
// attributes
private: