X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_HistoryMenu.cpp;h=ddf7673fbf2ac0ba4d48fb1afecbc4628ba88958;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=18332d5a209b5ec7da4471b23e1d4bbdb7541041;hpb=97917d3698f5a2f7fc9596e7c755ff8f6751e373;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_HistoryMenu.cpp b/src/XGUI/XGUI_HistoryMenu.cpp index 18332d5a2..ddf7673fb 100644 --- a/src/XGUI/XGUI_HistoryMenu.cpp +++ b/src/XGUI/XGUI_HistoryMenu.cpp @@ -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& 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); } }