mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
Basic shapes: minor improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3403 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -174,8 +174,9 @@ void QetShapeItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *opti
|
|||||||
pen.setStyle(m_shapeStyle);
|
pen.setStyle(m_shapeStyle);
|
||||||
if (isSelected()) pen.setColor(Qt::red);
|
if (isSelected()) pen.setColor(Qt::red);
|
||||||
painter -> setRenderHint(QPainter::Antialiasing, false);
|
painter -> setRenderHint(QPainter::Antialiasing, false);
|
||||||
painter->setPen(pen);
|
|
||||||
pen.setWidthF(1);
|
pen.setWidthF(1);
|
||||||
|
painter->setPen(pen);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
switch (m_shapeType) {
|
switch (m_shapeType) {
|
||||||
|
|||||||
Reference in New Issue
Block a user