diff --git a/sources/qetgraphicsitem/crossrefitem.cpp b/sources/qetgraphicsitem/crossrefitem.cpp index ed9c5db6b..6fb96bb94 100644 --- a/sources/qetgraphicsitem/crossrefitem.cpp +++ b/sources/qetgraphicsitem/crossrefitem.cpp @@ -152,6 +152,7 @@ void CrossRefItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *opti painter->save(); QPen t(Qt::black); t.setStyle(Qt::DashLine); + t.setCosmetic(true); painter -> setPen(t); painter -> setRenderHint(QPainter::Antialiasing, false); painter->drawRect(boundingRect());