summaryrefslogtreecommitdiff
path: root/muse2/muse/widgets/shortcutcapturedialog.cpp
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2010-12-10 07:10:44 +0000
committerTim E. Real <termtech@rogers.com>2010-12-10 07:10:44 +0000
commit39d911b43a335ceeb8f87556de0bd2ef3418f937 (patch)
tree3c03db4395fd14b9258373d69cbcec8390c8c73c /muse2/muse/widgets/shortcutcapturedialog.cpp
parent85f6c29fcb29b263d1300581725268c7f976151c (diff)
Added left, right, up, down to shortcuts dialog. Midi ports = 200 now.
Diffstat (limited to 'muse2/muse/widgets/shortcutcapturedialog.cpp')
-rw-r--r--muse2/muse/widgets/shortcutcapturedialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/muse/widgets/shortcutcapturedialog.cpp b/muse2/muse/widgets/shortcutcapturedialog.cpp
index ef2bc33e..5a76d1d9 100644
--- a/muse2/muse/widgets/shortcutcapturedialog.cpp
+++ b/muse2/muse/widgets/shortcutcapturedialog.cpp
@@ -53,7 +53,8 @@ void ShortcutCaptureDialog::keyPressEvent(QKeyEvent* e)
// Check if this is a "real" key that completes a valid shortcut:
int k = e->key();
if (k < 256 || k == Qt::Key_Enter || k == Qt::Key_Return || (k >= Qt::Key_F1 && k <= Qt::Key_F12) || k == Qt::Key_Home || k == Qt::Key_PageUp
- || k == Qt::Key_PageDown || k == Qt::Key_End || k == Qt::Key_Insert || k == Qt::Key_Delete) {
+ || k == Qt::Key_PageDown || k == Qt::Key_End || k == Qt::Key_Insert || k == Qt::Key_Delete
+ || k == Qt::Key_Up || k == Qt::Key_Down || k == Qt::Key_Left || k == Qt::Key_Right) {
key = temp_key;
realkey = true;
QKeySequence q = QKeySequence(key);