diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2014-03-19 18:24:42 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-19 09:37:12 -0700 |
commit | 71f2fd91b5a75a3c98020145e419ae7a1cb48cfe (patch) | |
tree | fa13bf83ed2176231b5da1e4472b8442a85b054f /qt-ui/profile/ruleritem.cpp | |
parent | fdf6f3cd4e78bac6f9f674cb709e94a5b8f025fc (diff) | |
download | subsurface-71f2fd91b5a75a3c98020145e419ae7a1cb48cfe.tar.gz |
Profile2: fix widths on some lines for Qt5
Qt5 uses different widths for some of the poly. lines
in the profile. Setting an explicit value fixes that.
Tested-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/ruleritem.cpp')
-rw-r--r-- | qt-ui/profile/ruleritem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profile/ruleritem.cpp b/qt-ui/profile/ruleritem.cpp index 627958e37..071c74cfe 100644 --- a/qt-ui/profile/ruleritem.cpp +++ b/qt-ui/profile/ruleritem.cpp @@ -77,6 +77,7 @@ RulerItem2::RulerItem2() : source(new RulerNodeItem2()), textItem->setFlag(QGraphicsItem::ItemIgnoresTransformations); textItemBack->setBrush(QColor(0xff, 0xff, 0xff, 190)); textItemBack->setPen(QColor(Qt::white)); + setPen(QPen(QColor(Qt::black), 0.0)); } void RulerItem2::recalculate() |