From 723d24fb3eb924748f6a29196b0e3bb12d636c7a Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 30 May 2019 15:47:14 +0300 Subject: [PATCH] Remove QT4 compatibility: additional commit. --- src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx | 4 ---- 1 file changed, 4 deletions(-) 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); -- 2.39.2