diff options
author | Nikita Krupenko <krnekit@gmail.com> | 2017-03-23 22:19:11 +0200 |
---|---|---|
committer | Stephan Binner <stephan.binner@basyskom.com> | 2017-03-29 20:06:10 +0000 |
commit | b7febc35da1321f8e08476bd9850ac783be54760 (patch) | |
tree | d21fbb6a1eb15ebb7fa6ae85d7a0d5d4047beb3c | |
parent | d9fe00e8e2a3e5610d5dce934d82daad8c7f3cab (diff) |
Fix warnings for -no-feature-combobox
Change-Id: I352c011b21624ae9fb9db5a608e8c2b2491a05cd
Reviewed-by: Stephan Binner <stephan.binner@basyskom.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
-rw-r--r-- | src/widgets/styles/qpixmapstyle.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<const QComboBox*>(widget->parentWidget())) return; +#else + Q_UNUSED(widget); #endif const bool enabled = option->state & State_Enabled; const bool focused = option->state & State_HasFocus; |