Commit 6dcc2874 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Use static_cast instead of c-style casting

parent 220ab680
......@@ -2782,7 +2782,7 @@ bool TerminalDisplay::event(QEvent* event)
bool eventHandled = false;
switch (event->type()) {
case QEvent::ShortcutOverride:
eventHandled = handleShortcutOverrideEvent((QKeyEvent*)event);
eventHandled = handleShortcutOverrideEvent(static_cast<QKeyEvent*>(event));
case QEvent::PaletteChange:
case QEvent::ApplicationPaletteChange:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment