From: rnv Date: Thu, 30 May 2019 12:05:29 +0000 (+0300) Subject: Remove QT4 compatibility. X-Git-Tag: V9_4_0a1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=93d5cc965cbb98ab5a6489fb1358dc5d8b9ef17d;p=modules%2Fjobmanager.git Remove QT4 compatibility. --- 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()