From d88527c52f7d78ca7cd28121ebc17df86fc56141 Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 30 May 2019 14:55:10 +0300 Subject: [PATCH] Remove QT4 compatibility. --- 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 1f5d3b3..636e601 100644 --- a/src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx +++ b/src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx @@ -846,11 +846,7 @@ QFrame* BLSURFPluginGUI_HypothesisCreator::buildFrame() myEnforcedTreeWidget->setSelectionMode(QAbstractItemView::ExtendedSelection); myEnforcedTreeWidget->setSelectionBehavior(QAbstractItemView::SelectItems); for (int column = 0; column < ENF_VER_NB_COLUMNS; ++column) { -#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) - myEnforcedTreeWidget->header()->setResizeMode(column,QHeaderView::Interactive); -#else myEnforcedTreeWidget->header()->setSectionResizeMode(column,QHeaderView::Interactive); -#endif myEnforcedTreeWidget->resizeColumnToContents(column); } myEnforcedTreeWidget->hideColumn(ENF_VER_FACE_ENTRY_COLUMN); -- 2.39.2