Skip to content

Don't reinterpret_cast QEvent

Kai Uwe Broulik requested to merge work/kbroulik/no-event-reinterpret-cast into master

We know that we'll be a QHelpEvent from QEvent::ToolTip, so do a static_cast from the event handler (where it's obvious from context), and then pass it along to tryShowNameToolTip.


Random drive-by finding. Tooltip for elided file name still shows up fine.

Merge request reports