remove QT4 references

This commit is contained in:
andrea reale
2022-03-03 16:13:15 +01:00
committed by wmayer
parent b25eaec2e5
commit 83d3a916c0
15 changed files with 17 additions and 119 deletions

View File

@@ -529,7 +529,7 @@ TreeWidget::TreeWidget(const char* name, QWidget* parent)
this->rootItem->setFlags(Qt::ItemIsEnabled);
this->expandItem(this->rootItem);
this->setSelectionMode(QAbstractItemView::ExtendedSelection);
// causes unexpected drop events (possibly only with Qt4.1.x)
this->setMouseTracking(true); // needed for itemEntered() to work