diff --git a/src/griditem.cpp b/src/griditem.cpp index e0a71c2c..2f2b6591 100644 --- a/src/griditem.cpp +++ b/src/griditem.cpp @@ -6,7 +6,9 @@ GridItem::GridItem(QGraphicsItem *parent) : QGraphicsItem(parent) { - +#ifndef Q_OS_MAC + setCacheMode(QGraphicsItem::DeviceCoordinateCache); +#endif // Q_OS_MAC } void GridItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,