Qt: remove some more leftovers of Qt4

This commit is contained in:
wmayer
2022-03-19 23:27:28 +01:00
parent 13e09b36f8
commit a999a249e3
13 changed files with 6 additions and 103 deletions

View File

@@ -293,11 +293,7 @@ void DlgPropertyLink::init(const App::DocumentObjectT &prop, bool tryFilter) {
ui->treeWidget->setColumnCount(2);
// make sure to show a horizontal scrollbar if needed
#if QT_VERSION >= 0x050000
ui->treeWidget->header()->setSectionResizeMode(0, QHeaderView::ResizeToContents);
#else
ui->treeWidget->header()->setResizeMode(0, QHeaderView::ResizeToContents);
#endif
}
std::set<App::Document*> expandDocs;