mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-24 03:10:52 +01:00
The application now avoids reading and keeping in memory every element file in the collection.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1366 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -46,8 +46,6 @@ class ElementsCollectionCache : public QObject {
|
||||
bool fetchElement(ElementDefinition *);
|
||||
QString name() const;
|
||||
QPixmap pixmap() const;
|
||||
|
||||
private:
|
||||
bool fetchData(const ElementsLocation &);
|
||||
bool fetchNameFromCache(const QString &, const QDateTime &);
|
||||
bool fetchPixmapFromCache(const QString &, const QDateTime &);
|
||||
|
||||
Reference in New Issue
Block a user