tst_qstyle: Fix compiler warning about unused variables.

Change-Id: Ida6a45be577cc1e21a2ba2b45f57b1e96c944fb2
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
This commit is contained in:
Friedemann Kleint 2012-12-17 11:51:18 +01:00 committed by The Qt Project
parent d5d79f3c7f
commit 87dedd9b2d

View File

@ -586,8 +586,8 @@ public:
}; };
int Qt42Style::pixelMetric(PixelMetric metric, const QStyleOption * option /*= 0*/, int Qt42Style::pixelMetric(PixelMetric metric, const QStyleOption * /* option = 0*/,
const QWidget * widget /*= 0*/ ) const const QWidget * /* widget = 0*/ ) const
{ {
switch (metric) { switch (metric) {
case QStyle::PM_DefaultTopLevelMargin: case QStyle::PM_DefaultTopLevelMargin: