Salome HOME
Copyright update 2021
[modules/geom.git] / src / RepairGUI / RepairGUI.cxx
index 132aad55f92d93e07e3d97d180da104bbebb87a1..8142f7ad5c46551d5f5c78622908079151cd4e54 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -158,11 +158,8 @@ namespace
     const int nbCols = 2;
     QTableWidget* table = new QTableWidget( nbRows, nbCols, this );
     table->setEditTriggers( QAbstractItemView::NoEditTriggers );
-#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
-    table->horizontalHeader()->setResizeMode( 1, QHeaderView::Interactive );
-#else
     table->horizontalHeader()->setSectionResizeMode( 1, QHeaderView::Interactive );
-#endif
+
     table->horizontalHeader()->setStretchLastSection( true );
 
     QStringList headers;