From b7febc35da1321f8e08476bd9850ac783be54760 Mon Sep 17 00:00:00 2001 From: Nikita Krupenko Date: Thu, 23 Mar 2017 22:19:11 +0200 Subject: Fix warnings for -no-feature-combobox Change-Id: I352c011b21624ae9fb9db5a608e8c2b2491a05cd Reviewed-by: Stephan Binner Reviewed-by: Paul Olav Tvete --- src/widgets/styles/qpixmapstyle.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/widgets') diff --git a/src/widgets/styles/qpixmapstyle.cpp b/src/widgets/styles/qpixmapstyle.cpp index 3aec3cf991..19f4cc3617 100644 --- a/src/widgets/styles/qpixmapstyle.cpp +++ b/src/widgets/styles/qpixmapstyle.cpp @@ -732,6 +732,8 @@ void QPixmapStyle::drawLineEdit(const QStyleOption *option, #if QT_CONFIG(combobox) if (widget && qobject_cast(widget->parentWidget())) return; +#else + Q_UNUSED(widget); #endif const bool enabled = option->state & State_Enabled; const bool focused = option->state & State_HasFocus; -- cgit v1.2.3