mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-21 12:49:59 +02:00
crossrefitem fix printing on X11
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2936 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -53,7 +53,12 @@ void CrossRefItem::updateLabel() {
|
|||||||
//init the painter
|
//init the painter
|
||||||
QPainter qp(&drawing_);
|
QPainter qp(&drawing_);
|
||||||
QPen pen_;
|
QPen pen_;
|
||||||
pen_.setWidth(1);
|
|
||||||
|
#ifdef Q_WS_WIN
|
||||||
|
pen.setWidth(1);
|
||||||
|
#elif Q_WS_MAC
|
||||||
|
pen.setWidth(0.5);
|
||||||
|
#endif
|
||||||
qp.setPen(pen_);
|
qp.setPen(pen_);
|
||||||
|
|
||||||
//calcul the size
|
//calcul the size
|
||||||
|
|||||||
Reference in New Issue
Block a user