summaryrefslogtreecommitdiffstats
path: root/examples/painting
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-06-30 12:00:05 (GMT)
committeraxis <qt-info@nokia.com>2009-06-30 12:14:03 (GMT)
commit44b6bc1e3391b874ceb1703e2965851c542568db (patch)
tree7a954f2973559491d06bbde1df6c6f1372b22a4c /examples/painting
parent5abb37a995dbc5c68e74c2ca850ca191bcf62622 (diff)
downloadQt-44b6bc1e3391b874ceb1703e2965851c542568db.zip
Qt-44b6bc1e3391b874ceb1703e2965851c542568db.tar.gz
Qt-44b6bc1e3391b874ceb1703e2965851c542568db.tar.bz2
Removed unused parameters from examples and demos to prevent warnings
Diffstat (limited to 'examples/painting')
-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 c973341..868c26c 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);