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

Authored by asensi on Sun, May 10, 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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
gengisdave accepted this revision.Thu, May 14, 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.Thu, May 14, 8:42 PM
This revision was automatically updated to reflect the committed changes.