summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qwidget_p.h
diff options
context:
space:
mode:
authorSérgio Martins <sergio.martins@kdab.com>2014-02-08 16:58:02 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-11 20:59:15 +0100
commitdc09a02e3a4ea93388197d7f8a0cfebe194e9886 (patch)
treec176412adfeab87d6c46491bb87b3cc53dd9fa08 /src/widgets/kernel/qwidget_p.h
parent63cf8ad33a4671aee35ac995bd34e83b1d863ac4 (diff)
Fix warning with QT_NO_GRAPHICSVIEW
Change-Id: I96064f0db359fbf5c615e48633398b79872e0bc5 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/widgets/kernel/qwidget_p.h')
-rw-r--r--src/widgets/kernel/qwidget_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/kernel/qwidget_p.h b/src/widgets/kernel/qwidget_p.h
index c8fb2782b3..45606685cb 100644
--- a/src/widgets/kernel/qwidget_p.h
+++ b/src/widgets/kernel/qwidget_p.h
@@ -538,6 +538,8 @@ public:
}
}
}
+#else
+ Q_UNUSED(widget);
#endif
return screen;
}