]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Remove QT4 compatibility.
authorrnv <rnv@opencascade.com>
Thu, 30 May 2019 11:55:10 +0000 (14:55 +0300)
committerrnv <rnv@opencascade.com>
Thu, 30 May 2019 11:55:10 +0000 (14:55 +0300)
src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx

index 1f5d3b31253e88dea2e18d50b9a0d0cf38f41045..636e6019d6ed2c91030da7c51424d5ae74336726 100644 (file)
@@ -846,11 +846,7 @@ QFrame* BLSURFPluginGUI_HypothesisCreator::buildFrame()
   myEnforcedTreeWidget->setSelectionMode(QAbstractItemView::ExtendedSelection);
   myEnforcedTreeWidget->setSelectionBehavior(QAbstractItemView::SelectItems);
   for (int column = 0; column < ENF_VER_NB_COLUMNS; ++column) {
-#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
-    myEnforcedTreeWidget->header()->setResizeMode(column,QHeaderView::Interactive);
-#else
     myEnforcedTreeWidget->header()->setSectionResizeMode(column,QHeaderView::Interactive);
-#endif
     myEnforcedTreeWidget->resizeColumnToContents(column);
   }
   myEnforcedTreeWidget->hideColumn(ENF_VER_FACE_ENTRY_COLUMN);