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

index 636e6019d6ed2c91030da7c51424d5ae74336726..4ff245c730c821a7a7ef81239e389bea153f82ea 100644 (file)
@@ -956,11 +956,7 @@ QFrame* BLSURFPluginGUI_HypothesisCreator::buildFrame()
   
   size_t periodicityVisibleColumns = 2;
   for (size_t column = 0; column < periodicityVisibleColumns; ++column) {
-#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
-      myPeriodicityTreeWidget->header()->setResizeMode(column,QHeaderView::Interactive);
-#else
       myPeriodicityTreeWidget->header()->setSectionResizeMode(column,QHeaderView::Interactive);
-#endif
       myPeriodicityTreeWidget->resizeColumnToContents(column);
   }
   myPeriodicityTreeWidget->header()->setStretchLastSection(true);