Gtk Style: Workaround to get combo box item style from QtQuick Controls
Change-Id: I0f39269d08d58e0ee1f5b09b90e11ab1030a3932 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
This commit is contained in:
parent
eff6dbb306
commit
26bc4ab22e
@ -3173,7 +3173,8 @@ void QGtkStyle::drawControl(ControlElement element,
|
||||
|
||||
#ifndef QT_NO_COMBOBOX
|
||||
|
||||
if (qobject_cast<const QComboBox*>(widget))
|
||||
if (qobject_cast<const QComboBox*>(widget) ||
|
||||
option->styleObject && option->styleObject->property("_q_isComboBoxPopupItem").toBool())
|
||||
ignoreCheckMark = true; // Ignore the checkmarks provided by the QComboMenuDelegate
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user