From 93d5cc965cbb98ab5a6489fb1358dc5d8b9ef17d Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 30 May 2019 15:05:29 +0300 Subject: [PATCH] Remove QT4 compatibility. --- CMakeLists.txt | 6 +----- src/genericgui/BL_JobsTable.cxx | 4 ---- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dbe7076..bcf5b48 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,11 +111,7 @@ ELSE(EXISTS ${GUI_ROOT_DIR}) ENDIF(EXISTS ${GUI_ROOT_DIR}) # Qt -IF(NOT SALOME_GUI_BUILD_WITH_QT5) - FIND_PACKAGE(SalomeQt4 REQUIRED COMPONENTS QtCore QtGui QtXml) -ELSE() - FIND_PACKAGE(SalomeQt5 REQUIRED) -ENDIF() +FIND_PACKAGE(SalomeQt5 REQUIRED) # Detection summary: SALOME_PACKAGE_REPORT_AND_CHECK() diff --git a/src/genericgui/BL_JobsTable.cxx b/src/genericgui/BL_JobsTable.cxx index 5037325..283d182 100644 --- a/src/genericgui/BL_JobsTable.cxx +++ b/src/genericgui/BL_JobsTable.cxx @@ -42,11 +42,7 @@ BL::JobsTable::JobsTable(QWidget *parent) : QTableView(parent) setSelectionMode(QAbstractItemView::ExtendedSelection); QHeaderView * header_view = verticalHeader(); -#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) - header_view->setClickable(false); -#else header_view->setSectionsClickable(false); -#endif } BL::JobsTable::~JobsTable() -- 2.39.2