Konfigurator: Avoid needing to apply `setWhatsThis()` and `setToolTip()` before calling `createComboBox()`
ClosedPublic

Authored by asensi on May 10 2020, 7:41 PM.

Details

Summary

Modify createComboBox(...) in order to require a QLabel as an argument,
therefore applying setWhatsThis(toolTip) and setToolTip() to
that QLabel is done automatically (and those steps do not have to
be remembered by developers).

Test Plan

Diff Detail

Repository
R167 Krusader
Lint
Lint Skipped
Unit
Unit Tests Skipped
gengisdave accepted this revision.May 14 2020, 8:42 PM
gengisdave added a subscriber: gengisdave.

Compiled and tested, tooltips are visible when hovering with the mouse and with the help button. No tooltips are set outside createComboBox()

This revision is now accepted and ready to land.May 14 2020, 8:42 PM
This revision was automatically updated to reflect the committed changes.