modernize use auto

This commit is contained in:
Kurt Hindenburg
2018-10-27 23:00:49 -04:00
parent e03d9cde41
commit dbdc8ce973
3 changed files with 3 additions and 3 deletions

View File

@@ -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