diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2020-01-19 19:40:56 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2020-01-24 18:50:34 +0100 |
commit | 089d54f06ff327f5212cb08fdbcb540066357dd5 (patch) | |
tree | 5dc1bfc1073e99dbe228e5858ded9202aa1066b3 /tests/manual/shortcuts/main.cpp | |
parent | b5193881e54ec3f3fe496654d23584eb5f96b692 (diff) |
Sync behavior and documentation of QFoo::setItemDelegate()
QComboBox::setItemDelegate() does delete the old delegate which is in
constrast to all other setItemDelegate() functions which is quite
confusing. Sync in by *not* deleting the delegate in
QComboBox::setItemDelegate() and adjust the documentation to explicitly
state that the ownership is *not* passed to the affected classes.
[ChangeLog][QtWidgets][QComboBox] QComobBox::setItemDelegates no longer
deletes the previous delegate set.
Fixes: QTBUG-72483
Change-Id: I89c8e53903e7c9924a980c57b83ce40f5866e6ae
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests/manual/shortcuts/main.cpp')
0 files changed, 0 insertions, 0 deletions