aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/hotkey
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/hotkey')
-rw-r--r--src/plugins/General/hotkey/hotkeymanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/General/hotkey/hotkeymanager.cpp b/src/plugins/General/hotkey/hotkeymanager.cpp
index c21431cea..9eddce3a0 100644
--- a/src/plugins/General/hotkey/hotkeymanager.cpp
+++ b/src/plugins/General/hotkey/hotkeymanager.cpp
@@ -45,6 +45,7 @@ extern "C"
#include <qmmp/qmmp.h>
#include <qmmp/soundcore.h>
#include <qmmpui/mediaplayer.h>
+#include <qmmpui/generalhandler.h>
#include "hotkeymanager.h"
quint32 Hotkey::defaultKey()
@@ -164,7 +165,7 @@ bool HotkeyManager::eventFilter(QObject* o, QEvent* e)
MediaPlayer::instance()->previous();
break;
case Hotkey::SHOW_HIDE:
- toggleVisibility();
+ GeneralHandler::instance()->toggleVisibility();
break;
case Hotkey::VOLUME_UP:
case Hotkey::VOLUME_DOWN: