Fix RsCollection Editor Count Update When Removing items.

Thanks to Jola to get this bug.
This commit is contained in:
Phenom 2016-08-08 20:45:35 +02:00
parent c0c7ede97b
commit ee368ef045
2 changed files with 97 additions and 52 deletions

View file

@ -69,6 +69,7 @@ private:
QTreeWidgetItem* getRootItem();
bool updateList();
bool addChild(QTreeWidgetItem *parent, const std::vector<ColFileInfo> &child);
bool removeItem(QTreeWidgetItem *item, bool &removeOnlyFile) ;
void addRecursive(bool recursive) ;
bool addAllChild(QFileInfo &fileInfoParent
, QMap<QString, QString > &dirToAdd