summaryrefslogtreecommitdiffstats
path: root/tests/auto/qprinter
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-05-19 16:19:01 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-05-19 16:20:08 +0200
commit49995ee35ff0b26e32303d77df619d3a2fbcb86b (patch)
tree59cac159b76d07a407149870a9f469251d99ac5c /tests/auto/qprinter
parenta98ebc599ab7c99a6431d0420d3f0d238f37f6b1 (diff)
Tests: Fix some compile warnings.
As they are now compiled by default.
Diffstat (limited to 'tests/auto/qprinter')
-rw-r--r--tests/auto/qprinter/tst_qprinter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qprinter/tst_qprinter.cpp b/tests/auto/qprinter/tst_qprinter.cpp
index 6da7597938..b1c4c4ee3c 100644
--- a/tests/auto/qprinter/tst_qprinter.cpp
+++ b/tests/auto/qprinter/tst_qprinter.cpp
@@ -406,6 +406,8 @@ void tst_QPrinter::testMargins()
QFETCH(int, width);
QFETCH(int, height);
QFETCH(bool, fullpage);
+ Q_UNUSED(width);
+ Q_UNUSED(height);
QPrinter printer;
QPainter *painter = 0;
printer.setOutputFileName("silly");