mirror of
https://github.com/KDE/konsole.git
synced 2026-05-04 04:33:38 -04:00
A few more c style casts -> static_casts
This commit is contained in:
@@ -114,7 +114,7 @@ bool KeyBindingEditor::eventFilter(QObject* watched , QEvent* event)
|
||||
{
|
||||
if (watched == _ui->testAreaInputEdit) {
|
||||
if (event->type() == QEvent::KeyPress) {
|
||||
QKeyEvent* keyEvent = (QKeyEvent*)event;
|
||||
QKeyEvent* keyEvent = static_cast<QKeyEvent*>(event);
|
||||
|
||||
// The state here is currently set to the state that a newly started
|
||||
// terminal in Konsole will be in ( which is also the same as the
|
||||
|
||||
Reference in New Issue
Block a user