Basic shapes crossrefitem: update to cosmetic changes

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2939 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2014-03-20 11:56:06 +00:00
parent 0e898ae82a
commit 246910ba84
2 changed files with 7 additions and 13 deletions

View File

@@ -104,12 +104,7 @@ void QetShapeItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *opti
painter -> setRenderHint(QPainter::Antialiasing, false);
QRectF rec = boundingRect();
QPen pen(Qt::black);
#ifdef Q_WS_WIN
pen.setWidth(1);
#elif Q_WS_MAC
pen.setWidth(0.5);
#endif
pen.setWidthF(0.5);
if (isSelected())
pen.setColor(Qt::red);