diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2010-05-11 01:23:21 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2010-05-11 23:47:31 (GMT) |
commit | 1b2b9ba6b4cea31d679aeae915e590ddbf1da945 (patch) | |
tree | 565108c87bc16a6840ec0601c90135e89c40f348 | |
parent | a392c012fda17313948f09574ec01672a8ed2f66 (diff) | |
download | Qt-1b2b9ba6b4cea31d679aeae915e590ddbf1da945.zip Qt-1b2b9ba6b4cea31d679aeae915e590ddbf1da945.tar.gz Qt-1b2b9ba6b4cea31d679aeae915e590ddbf1da945.tar.bz2 |
Don't use Q_UNUSED if you use parameters.
That's many "use" in the sentence.
Task-number:QT-1652
Reviewed-by:TrustMe
-rw-r--r-- | src/gui/graphicsview/qgraphicsview.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicsview.cpp b/src/gui/graphicsview/qgraphicsview.cpp index 0bba7e9..9519ca0 100644 --- a/src/gui/graphicsview/qgraphicsview.cpp +++ b/src/gui/graphicsview/qgraphicsview.cpp @@ -1819,8 +1819,6 @@ void QGraphicsView::centerOn(const QGraphicsItem *item) void QGraphicsView::ensureVisible(const QRectF &rect, int xmargin, int ymargin) { Q_D(QGraphicsView); - Q_UNUSED(xmargin); - Q_UNUSED(ymargin); qreal width = viewport()->width(); qreal height = viewport()->height(); QRectF viewRect = d->matrix.mapRect(rect); |