mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-07 14:12:33 +01:00
Improve the remove of an item in the new panel. No need to reload the collection, use QAbstractItemModel::removeRows instead.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4285 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -56,6 +56,9 @@ class FileElementCollectionItem : public ElementCollectionItem
|
||||
virtual bool isValid() const;
|
||||
virtual QString name();
|
||||
|
||||
virtual bool canRemoveContent();
|
||||
virtual bool removeContent();
|
||||
|
||||
private:
|
||||
void setPathName(QString path_name);
|
||||
void populate();
|
||||
|
||||
Reference in New Issue
Block a user