mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-09 07:09:59 +01:00
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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user