cross ref item:restore cosmetic for text

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2941 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2014-03-20 13:47:58 +00:00
parent 68a6fcab75
commit 3612bd0fad

View File

@@ -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());