Salome HOME
[EDF27816] : in case of UsingPythonCache disabled (default) all temporary variables...
[modules/yacs.git] / src / genericgui / SchemaProcItem.cxx
index ec4f0256d95597d7ef65cb7ed1ff4e6d7d13c2c1..ed70df1e8b2d2abe98bf6ac82ad3c13893a19c2a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2022  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -65,7 +65,7 @@ void SchemaProcItem::setExecState(int execState)
     default:                      sc = YACS::HMI::Resource::UNKNOWN          ; stateDef = "Unknown Status";
    }
   _itemData.replace(YState, stateDef);
-  _itemForeground.replace(YState, Qt::darkBlue);
+  _itemForeground.replace(YState, QColor(Qt::darkBlue));
   _itemBackground.replace(YState, sc);
 }