summaryrefslogtreecommitdiffstats
path: root/src/widgets/graphicsview/qgraphicswidget.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-06-13 15:08:07 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-14 03:03:38 +0200
commit9e9ea7c0e604e50ef66393f85fa2e5b6dafe187e (patch)
tree41845e480c685aea7ae367011495701ceabd3c01 /src/widgets/graphicsview/qgraphicswidget.cpp
parentdeed9c75b4abe9643e2d140a571eda43d324036c (diff)
QtWidgets: Fix warnings about deprecated QGraphicsView functions.
Warnings introduced by d76de69b4b60e7e13d5b0602768702e4bf219804 . Change-Id: I613500074a2318a617f18d5b887840ecc3408237 Reviewed-by: Gatis Paeglis <gatis.paeglis@nokia.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'src/widgets/graphicsview/qgraphicswidget.cpp')
-rw-r--r--src/widgets/graphicsview/qgraphicswidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/graphicsview/qgraphicswidget.cpp b/src/widgets/graphicsview/qgraphicswidget.cpp
index cf55827854..3a3d3e34a3 100644
--- a/src/widgets/graphicsview/qgraphicswidget.cpp
+++ b/src/widgets/graphicsview/qgraphicswidget.cpp
@@ -1451,7 +1451,7 @@ bool QGraphicsWidget::event(QEvent *event)
windowFrameEvent(event);
// Filter out hover events if they were sent to us only because of the
// decoration (special case in QGraphicsScenePrivate::dispatchHoverEvent).
- if (!acceptsHoverEvents())
+ if (!acceptHoverEvents())
return true;
}
break;