Salome HOME
updated copyright message
[modules/geom.git] / src / GEOMGUI / GEOMGUI_TextTreeWdg.cxx
old mode 100755 (executable)
new mode 100644 (file)
index 4ff3e7a..5122539
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2015-2023  CEA, EDF, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -175,11 +175,8 @@ GEOMGUI_TextTreeWdg::GEOMGUI_TextTreeWdg( SalomeApp_Application* app )
   headerItem->setIcon( 1, myVisibleIcon );
   setHeaderItem ( headerItem ); 
   header()->moveSection( 1, 0 );
-#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
-  header()->setResizeMode( 1, QHeaderView::ResizeToContents );
-#else
   header()->setSectionResizeMode( 1, QHeaderView::ResizeToContents );
-#endif
+
   QStringList rootNames;
   rootNames << tr("GEOM_DIMENSIONS") << "";
   myDimensionsItem = new QTreeWidgetItem( this, rootNames );
@@ -398,7 +395,7 @@ void GEOMGUI_TextTreeWdg::fillBranch( const BranchType& theBranchType, const QSt
 //=================================================================================
 QSharedPointer<GEOMGUI_TextTreeWdg::VisualProperty>
   GEOMGUI_TextTreeWdg::getVisualProperty( const BranchType& theBranchType,
-                                          SalomeApp_Study* theStudy,
+                                          SalomeApp_Study* /*theStudy*/,
                                           const std::string& theEntry )
 {
   switch ( theBranchType )