KMultiTabBar: Fix regression in conversion to new style connect()
ClosedPublic

Authored by sars on Jan 15 2018, 10:21 AM.

Details

Summary

The conversion to new style connect introduced a bug. The old connect properly used the base class signal while the new connect connects to the derived signal which actually should be emitted as a result of the base class signal.

Test Plan

Kate can now open/close the tool views when clicking on the sidebar buttons.

Diff Detail

Repository
R236 KWidgetsAddons
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sars created this revision.Jan 15 2018, 10:21 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptJan 15 2018, 10:21 AM
sars requested review of this revision.Jan 15 2018, 10:21 AM
mlaurent accepted this revision.Jan 15 2018, 10:36 AM

indeed good catch

This revision is now accepted and ready to land.Jan 15 2018, 10:36 AM
sars closed this revision.Jan 15 2018, 11:57 AM

For some reason this review was not closed automatically by the commit. Closing manually.

ltoscano reopened this revision.Jan 15 2018, 12:00 PM
ltoscano added a subscriber: ltoscano.

Give it some time. Right now Phabricator is only observing the repositories, not handling them, and this means that an update can land with some delay.

This revision is now accepted and ready to land.Jan 15 2018, 12:00 PM
This revision was automatically updated to reflect the committed changes.

@dfaure Can we provide an update to KWidgetAddons? Is this feasible? If not, we should at least announce this bug on kde-distro-packagers@kde.org, since this breaks Kate.

Second question: How did this happen in the first place? I am asking, since we also had quite a bit of breakage in Kate/KTextEditor due to changes from old-style connect to new-style connect. Introducing regressions from time to time is not good enough, imo.