aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/hotkey/settingsdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/hotkey/settingsdialog.cpp')
-rw-r--r--src/plugins/General/hotkey/settingsdialog.cpp4
1 files changed, 2 insertions, 2 deletions
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;