- QColor backgroundColor = palette().window().color();
- if (m_illumination > 0) {
- // at this point, a: we are a second label being drawn over the already
- // painted status area, so we can be translucent, and b: our palette's
- // window color (bg only) seems to be wrong (always black)
+ QColor backgroundColor;
+ if (m_state == Default || m_illumination < 0) backgroundColor = palette().window().color();
+ else {