aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/fileops/hotkeydialog.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-07-23 20:24:06 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-07-23 20:24:06 +0000
commit94d5afd7c07310addcd75a030168ed633ca710e3 (patch)
tree354be43809692af8181be7ae0bffd3af9f952e7f /src/plugins/General/fileops/hotkeydialog.cpp
parent7e1ff6bc18faa9e309065eae4b6a577280028842 (diff)
downloadqmmp-94d5afd7c07310addcd75a030168ed633ca710e3.tar.gz
qmmp-94d5afd7c07310addcd75a030168ed633ca710e3.tar.bz2
qmmp-94d5afd7c07310addcd75a030168ed633ca710e3.zip
fixed possible memory leak and other issues
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9011 90c681e8-e032-0410-971d-27865f9a5e38
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;