Fix warnings for -no-feature-itemviews

Change-Id: Ia384c2b48a6eaccb424cdde00240ebcfa6fd24c6
Reviewed-by: Stephan Binner <stephan.binner@basyskom.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
This commit is contained in:
Nikita Krupenko 2017-03-23 22:17:21 +02:00 committed by Stephan Binner
parent c20cd4d98e
commit d8426aa18e

View File

@ -4882,6 +4882,8 @@ QSize QCommonStyle::sizeFromContents(ContentsType ct, const QStyleOption *opt,
sz.rheight() += 2; // Prevent icons from overlapping.
}
break;
#else
Q_UNUSED(d);
#endif // QT_NO_ITEMVIEWS
#ifndef QT_NO_SPINBOX
case CT_SpinBox: