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

index 1dd579e9d1a8179de6c2a403cef9b5916a97139e..73d8fd69e452138efa373ed51682458b4453f95c 100644 (file)
@@ -309,11 +309,8 @@ QFrame* HEXABLOCKPluginGUI_HypothesisCreator::buildFrame()
   mySmpModel->setHorizontalHeaderLabels(enforcedHeaders);
   myEnforcedTableView->setAlternatingRowColors(true);
   myEnforcedTableView->verticalHeader()->hide();
-#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
-  myEnforcedTableView->horizontalHeader()->setResizeMode(QHeaderView::Stretch);
-#else
   myEnforcedTableView->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
-#endif
+
   QLabel* myXCoordLabel = new QLabel( tr( "HEXABLOCK_ENF_VER_X_LABEL" ), myEnfGroup );
   anSmpLayout->addWidget(myXCoordLabel, ENF_VER_X_COORD, 1, 1, 1);
   myXCoord = new QLineEdit(myEnfGroup);