D7966: KComboBox: Reuse the existing completion object on new line edit

Milian Wolff noreply at phabricator.kde.org
Sun Sep 24 11:48:30 UTC 2017


mwolff created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  When a KComboBox was created and a completion object configured on
  it, that setting was lost once the combo box was set to be editable.
  To support this workflow and make the API easier to use, we now keep
  the previous completion object alive and set it on the new line edit.

REPOSITORY
  R284 KCompletion

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D7966

AFFECTED FILES
  autotests/kcombobox_unittest.cpp
  src/kcombobox.cpp

To: mwolff
Cc: dfaure, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170924/ea6a3bb7/attachment.html>


More information about the Kde-frameworks-devel mailing list