summaryrefslogtreecommitdiffstats
path: root/examples/painting/svggenerator/displaywidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/painting/svggenerator/displaywidget.cpp')
-rw-r--r--examples/painting/svggenerator/displaywidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/painting/svggenerator/displaywidget.cpp b/examples/painting/svggenerator/displaywidget.cpp
index 75ec02d..bad6d3a 100644
--- a/examples/painting/svggenerator/displaywidget.cpp
+++ b/examples/painting/svggenerator/displaywidget.cpp
@@ -63,7 +63,7 @@ DisplayWidget::DisplayWidget(QWidget *parent)
}
//! [paint event]
-void DisplayWidget::paintEvent(QPaintEvent *event)
+void DisplayWidget::paintEvent(QPaintEvent * /* event */)
{
QPainter painter;
painter.begin(this);