-// 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
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);
}