• Filip Roséen's avatar
    gui/qt: fix invalid static_cast · f2b8777b
    Filip Roséen authored
    The dynamic type of the object referred to by "event" is not
    QMouseEvent if "event->type()" is Event::Leave.
    
    The previous implementation would unconditionally refer to the object
    as-if it was a QMouseEvent when it is simply a QEvent; causing
    undefined-behavior.
    Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
    f2b8777b
Name
Last commit
Last update
..
macosx Loading commit data...
minimal_macosx Loading commit data...
qt Loading commit data...
skins2 Loading commit data...
Makefile.am Loading commit data...
eject.c Loading commit data...
ncurses.c Loading commit data...