[qet] [2941] cross ref item:restore cosmetic for text |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 2941
Author: scorpio810
Date: 2014-03-20 14:47:58 +0100 (Thu, 20 Mar 2014)
Log Message:
-----------
cross ref item:restore cosmetic for text
Modified Paths:
--------------
trunk/sources/qetgraphicsitem/crossrefitem.cpp
Modified: trunk/sources/qetgraphicsitem/crossrefitem.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/crossrefitem.cpp 2014-03-20 13:32:41 UTC (rev 2940)
+++ trunk/sources/qetgraphicsitem/crossrefitem.cpp 2014-03-20 13:47:58 UTC (rev 2941)
@@ -152,6 +152,7 @@
painter->save();
QPen t(Qt::black);
t.setStyle(Qt::DashLine);
+ t.setCosmetic(true);
painter -> setPen(t);
painter -> setRenderHint(QPainter::Antialiasing, false);
painter->drawRect(boundingRect());