aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/fileops/hotkeydialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/fileops/hotkeydialog.cpp')
-rw-r--r--src/plugins/General/fileops/hotkeydialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/General/fileops/hotkeydialog.cpp b/src/plugins/General/fileops/hotkeydialog.cpp
index 758a76a07..65f116c44 100644
--- a/src/plugins/General/fileops/hotkeydialog.cpp
+++ b/src/plugins/General/fileops/hotkeydialog.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2019 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -47,7 +47,6 @@ void HotkeyDialog::keyPressEvent (QKeyEvent *event)
case Qt::Key_Menu:
case 0:
case Qt::Key_unknown:
- key = 0;
ui.keyLineEdit->clear();
QWidget::keyPressEvent(event);
return;