KCharSelect: remove unnecessary call

Authored by dfaure on Apr 13 2019, 7:15 PM.

Description

KCharSelect: remove unnecessary call

Summary:
d->_k_sectionSelected() refills the block combo which automatically
sets the current index to 0 (from -1 set by clear) and calls
_k_blockSelected.

Doing it twice is actually expensive since an item model is deleted
and recreated in that method.

Test Plan:
ctest (the unittest in the previous patch actually requires
this fix, due to the QHeaderView asserts)

Reviewers: cfeck

Reviewed By: cfeck

Differential Revision: https://phabricator.kde.org/D20516

Details

Committed
dfaureMay 3 2019, 5:47 PM
Reviewer
cfeck
Differential Revision
D20516: KCharSelect: remove unnecessary call
Parents
R236:b93ef73701a2: KCharSelect: add unittest. Hits the assert in QHeaderView.
Branches
Unknown
Tags
Unknown