Commit c9a5f4bd authored by Laurent Montel's avatar Laurent Montel 😁

Fix check

parent 32ba4c08
......@@ -455,7 +455,7 @@ void CalPrintPluginBase::showEventBox(QPainter &p, int linewidth, const QRect &b
QPen oldpen(p.pen());
QBrush oldbrush(p.brush());
QColor bgColor(categoryBgColor(incidence));
if (mUseColors & bgColor.isValid()) {
if (mUseColors && bgColor.isValid()) {
p.setBrush(bgColor);
} else {
p.setBrush(QColor(232, 232, 232));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment