return checkParent(parent.parent(), child);
}
public void selectTag(QTreeWidgetItem item) {
MatchFlags flags = new MatchFlags();
flags.set(MatchFlag.MatchWildcard);
flags.set(MatchFlag.MatchRecursive);
List <QTreeWidgetItem> children = findItems("*", flags);
for (int j=0; j<children.size(); j++) {
String guid = children.get(j).text(2);
if (item.text(2).equals(guid)) {