In widgets: * windowHandle() only works for top level widgets (windows), so we need to first get the actual window() as windowHandle() is always nullptr for controls like ComboBox In QtQuick Controls: * we would just blow up for accessing widget which is null here. Use the QQuickWindow of the QQuickItem, if any. Given how long this went unnoticed shows that Qt *never* ever had icons working in ComboBoxes in QtQuick... Differential Revision: https://phabricator.kde.org/D18655wilder-5.17
parent
2750e07e4e
commit
afef901a2a
1 changed files with 14 additions and 1 deletions
Loading…
Reference in new issue