From: rnv Date: Thu, 30 May 2019 12:05:29 +0000 (+0300) Subject: Remove QT4 compatibility. X-Git-Tag: V9_4_0a2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=34f5aba6015a3a78c9f61ca27f538556647d4f49;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()