From c840cac739329c18aba8397b593f358f35412d97 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 9 Aug 2009 13:57:39 +0000 Subject: hotkey plugin: fixed bug with capslock git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1132 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/hotkey/settingsdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/General/hotkey/settingsdialog.cpp') diff --git a/src/plugins/General/hotkey/settingsdialog.cpp b/src/plugins/General/hotkey/settingsdialog.cpp index 18a77f5a6..bc4e897e5 100644 --- a/src/plugins/General/hotkey/settingsdialog.cpp +++ b/src/plugins/General/hotkey/settingsdialog.cpp @@ -100,8 +100,8 @@ void SettingsDialog::on_tableWidget_itemDoubleClicked (QTableWidgetItem *item) if (item->type() >= QTableWidgetItem::UserType && dialog->exec() == QDialog::Accepted) { - item->setText(HotkeyManager::getKeyString(dialog->nativeVirtualKey (), dialog->nativeModifiers ())); - k->key = dialog->nativeVirtualKey (); + item->setText(HotkeyManager::getKeyString(dialog->keySym (), dialog->nativeModifiers ())); + k->key = dialog->keySym (); k->mod = dialog->nativeModifiers (); } delete dialog; -- cgit v1.2.3-13-gbd6f