From d6d1eb640b2c2e92a50804a475a70c19246245fb Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 30 May 2019 15:02:17 +0300 Subject: [PATCH] Remove QT4 compatibility. --- src/GUI/HEXABLOCKPluginGUI_HypothesisCreator.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/GUI/HEXABLOCKPluginGUI_HypothesisCreator.cxx b/src/GUI/HEXABLOCKPluginGUI_HypothesisCreator.cxx index 1dd579e..73d8fd6 100644 --- a/src/GUI/HEXABLOCKPluginGUI_HypothesisCreator.cxx +++ b/src/GUI/HEXABLOCKPluginGUI_HypothesisCreator.cxx @@ -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); -- 2.39.2