mirror of
https://github.com/KDE/konsole.git
synced 2026-06-11 23:45:09 -04:00
modernize use auto
This commit is contained in:
@@ -168,7 +168,7 @@ bool KeyBindingEditor::eventFilter(QObject *watched, QEvent *event)
|
||||
{
|
||||
if (watched == _ui->testAreaInputEdit) {
|
||||
if (event->type() == QEvent::KeyPress) {
|
||||
QKeyEvent *keyEvent = static_cast<QKeyEvent *>(event);
|
||||
auto *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