]> cloud.milkyroute.net Git - dolphin.git/commit
Don't reinterpret_cast QEvent
authorKai Uwe Broulik <kde@privat.broulik.de>
Tue, 5 Jul 2022 11:18:45 +0000 (13:18 +0200)
committerKai Uwe Broulik <kde@privat.broulik.de>
Wed, 6 Jul 2022 17:33:42 +0000 (17:33 +0000)
commit5ebc6b865de31b84faa353f6a85a76734c06ebe4
tree89e2e39b63f78b076a97c3d064e65f700bbc0dc2
parentf3a0986b8b1addabb93323ac850060ffa0a8c5bd
Don't reinterpret_cast QEvent

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`.
src/views/dolphinview.cpp
src/views/dolphinview.h