From: rnv Date: Thu, 30 May 2019 12:47:14 +0000 (+0300) Subject: Remove QT4 compatibility: additional commit. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=723d24fb3eb924748f6a29196b0e3bb12d636c7a;p=plugins%2Fblsurfplugin.git Remove QT4 compatibility: additional commit. --- diff --git a/src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx b/src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx index 636e601..4ff245c 100644 --- a/src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx +++ b/src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx @@ -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);