summaryrefslogtreecommitdiffstats
path: root/examples/animation/states/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/animation/states/main.cpp')
-rw-r--r--examples/animation/states/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/animation/states/main.cpp b/examples/animation/states/main.cpp
index d49aa415a7..f37c2bdbbf 100644
--- a/examples/animation/states/main.cpp
+++ b/examples/animation/states/main.cpp
@@ -38,7 +38,7 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
class Pixmap : public QGraphicsObject
{
@@ -69,7 +69,7 @@ public:
{
}
- virtual void resizeEvent(QResizeEvent *event)
+ virtual void resizeEvent(QResizeEvent *)
{
fitInView(sceneRect(), Qt::KeepAspectRatio);
}