Salome HOME
updated copyright message
[modules/shaper.git] / src / XGUI / XGUI_HistoryMenu.cpp
index 18332d5a209b5ec7da4471b23e1d4bbdb7541041..ddf7673fbf2ac0ba4d48fb1afecbc4628ba88958 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -68,7 +68,10 @@ void XGUI_HistoryMenu::setHistory(const QList<ActionInfo>& theActions)
 {
   myHistoryList->clear();
   foreach(ActionInfo anAct, theActions) {
-    QListWidgetItem* anItem = new QListWidgetItem(anAct.icon, anAct.text, myHistoryList);
+#ifdef _DEBUG
+    QListWidgetItem* anItem =
+#endif
+      new QListWidgetItem(anAct.icon, anAct.text, myHistoryList);
   }
 }