diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2013-02-18 16:07:54 +0100 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2013-02-18 16:07:55 +0100 |
commit | 4d99e5bb809bffbbfd3fb5e6bad34afd991beb1e (patch) | |
tree | 8d3ac63676dc90361bf561ce1eb052fd7229dc26 /examples/quick/tutorials/extending/chapter6-plugins/pieslice.cpp | |
parent | 4d3a64c5e65a781acb4acf4ba641456da28bd1e4 (diff) | |
parent | 7726da293c4e54aedb1ef69138f168d59692c1e8 (diff) |
Merge remote-tracking branch 'origin/stable' into dev
Change-Id: I33db683ebf12248b2ed14eeaf65c4bcade14bfbf
Diffstat (limited to 'examples/quick/tutorials/extending/chapter6-plugins/pieslice.cpp')
-rw-r--r-- | examples/quick/tutorials/extending/chapter6-plugins/pieslice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/tutorials/extending/chapter6-plugins/pieslice.cpp b/examples/quick/tutorials/extending/chapter6-plugins/pieslice.cpp index 3269fd60f2..52b409aa22 100644 --- a/examples/quick/tutorials/extending/chapter6-plugins/pieslice.cpp +++ b/examples/quick/tutorials/extending/chapter6-plugins/pieslice.cpp @@ -80,7 +80,7 @@ void PieSlice::paint(QPainter *painter) { QPen pen(m_color, 2); painter->setPen(pen); - painter->setRenderHints(QPainter::HighQualityAntialiasing, true); - painter->drawPie(boundingRect(), m_fromAngle * 16, m_angleSpan * 16); + painter->setRenderHints(QPainter::Antialiasing, true); + painter->drawPie(boundingRect().adjusted(1, 1, -1, -1), m_fromAngle * 16, m_angleSpan * 16); } |