[qet] [2936] crossrefitem fix printing on X11 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 2936
Author: scorpio810
Date: 2014-03-19 16:18:25 +0100 (Wed, 19 Mar 2014)
Log Message:
-----------
crossrefitem fix printing on X11
Modified Paths:
--------------
trunk/sources/qetgraphicsitem/crossrefitem.cpp
Modified: trunk/sources/qetgraphicsitem/crossrefitem.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/crossrefitem.cpp 2014-03-19 14:56:06 UTC (rev 2935)
+++ trunk/sources/qetgraphicsitem/crossrefitem.cpp 2014-03-19 15:18:25 UTC (rev 2936)
@@ -53,7 +53,12 @@
//init the painter
QPainter qp(&drawing_);
QPen pen_;
- pen_.setWidth(1);
+
+#ifdef Q_WS_WIN
+ pen.setWidth(1);
+#elif Q_WS_MAC
+ pen.setWidth(0.5);
+#endif
qp.setPen(pen_);
//calcul the size