mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 02:10:52 +01:00
qetshapeitem: restore Antialiasing false
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3146 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -173,6 +173,7 @@ void QetShapeItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *opti
|
||||
QPen pen;
|
||||
pen.setStyle(m_shapeStyle);
|
||||
if (isSelected()) pen.setColor(Qt::red);
|
||||
painter -> setRenderHint(QPainter::Antialiasing, false);
|
||||
painter->setPen(pen);
|
||||
|
||||
// TODO for printing line type on Windows
|
||||
|
||||
Reference in New Issue
Block a user