QItemDelegates are owned by neither the QComboBox directly, nor the QComboBox::view(), upon a mere setItemDelegate() (the docs of this function is pretty clear about that). Since the objects didn't have a QObject parent, either, they were leaked. To fix, give it the comboBox as a parent. Amends the start of the public history. Pick-to: 6.8 6.5 5.15 Change-Id: Ic8bc2603072070b458bd79a6129af6c76811f8ec Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit fda3526f9c6c34f509ebaba67a27e5c32235d7e9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%