mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +01:00
Implemented a SQLite-based cache to speed up the elements panel loading.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1329 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -123,3 +123,11 @@ bool FileElementsCollection::isWritable() {
|
||||
bool FileElementsCollection::write() {
|
||||
return(true);
|
||||
}
|
||||
|
||||
/**
|
||||
@return always true, since a file-based elements collection can always be
|
||||
cached.
|
||||
*/
|
||||
bool FileElementsCollection::isCacheable() const {
|
||||
return(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user