diff options
author | Tero Ahola <tero.ahola@digia.com> | 2012-03-15 14:14:28 +0200 |
---|---|---|
committer | Tero Ahola <tero.ahola@digia.com> | 2012-03-15 14:16:38 +0200 |
commit | e622b3a8d8a0e502ded6c05941ec48829a3a300a (patch) | |
tree | 27b7f71e5bfe8d0887a020e83c8fe7b24dde7608 /src/splinechart/splinechartitem.cpp | |
parent | 6414477234a5136a8cb67569c6f8835ef8f7bbe6 (diff) |
Squashed bunch of warnings
Diffstat (limited to 'src/splinechart/splinechartitem.cpp')
-rw-r--r-- | src/splinechart/splinechartitem.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/splinechart/splinechartitem.cpp b/src/splinechart/splinechartitem.cpp index 33fb59c4..e5842964 100644 --- a/src/splinechart/splinechartitem.cpp +++ b/src/splinechart/splinechartitem.cpp @@ -69,8 +69,9 @@ void SplineChartItem::handleUpdated() void SplineChartItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) { - Q_UNUSED(widget); - Q_UNUSED(option); + Q_UNUSED(widget) + Q_UNUSED(option) + painter->save(); painter->setClipRect(clipRect()); painter->setPen(m_linePen); |