[qet] [3514] Minor change |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 3514
Author: scorpio810
Date: 2014-11-24 19:00:37 +0100 (Mon, 24 Nov 2014)
Log Message:
-----------
Minor change
Modified Paths:
--------------
trunk/sources/qetgraphicsitem/qetshapeitem.cpp
Modified: trunk/sources/qetgraphicsitem/qetshapeitem.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/qetshapeitem.cpp 2014-11-24 17:51:13 UTC (rev 3513)
+++ trunk/sources/qetgraphicsitem/qetshapeitem.cpp 2014-11-24 18:00:37 UTC (rev 3514)
@@ -169,9 +169,10 @@
Q_UNUSED(option); Q_UNUSED(widget);
QPen pen(m_shapeStyle);
+ painter -> setRenderHint(QPainter::Antialiasing, false);
pen.setWidthF(1);
- painter -> setRenderHint(QPainter::Antialiasing, false);
+
if (m_hovered) {
painter->save();
QColor color(Qt::darkBlue);