summaryrefslogtreecommitdiffstats
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
parent5abb37a995dbc5c68e74c2ca850ca191bcf62622 (diff)
downloadQt-44b6bc1e3391b874ceb1703e2965851c542568db.zip
Qt-44b6bc1e3391b874ceb1703e2965851c542568db.tar.gz
Qt-44b6bc1e3391b874ceb1703e2965851c542568db.tar.bz2
Removed unused parameters from examples and demos to prevent warnings
-rw-r--r--demos/embedded/embeddedsvgviewer/embeddedsvgviewer.cpp2
-rw-r--r--examples/painting/svggenerator/displaywidget.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/embedded/embeddedsvgviewer/embeddedsvgviewer.cpp b/demos/embedded/embeddedsvgviewer/embeddedsvgviewer.cpp
index 1bd99c9..843da23 100644
--- a/demos/embedded/embeddedsvgviewer/embeddedsvgviewer.cpp
+++ b/demos/embedded/embeddedsvgviewer/embeddedsvgviewer.cpp
@@ -143,7 +143,7 @@ void EmbeddedSvgViewer::updateImageScale()
}
-void EmbeddedSvgViewer::resizeEvent ( QResizeEvent * event )
+void EmbeddedSvgViewer::resizeEvent ( QResizeEvent * /* event */ )
{
qreal origZoom = m_zoomLevel;
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);