From a356c5c425f235d57d980341555f8d618223fb55 Mon Sep 17 00:00:00 2001 From: Andrea Decorte Date: Wed, 9 Mar 2011 13:03:52 +0000 Subject: [PATCH] Ctrl + Space to select/deselect in playlist. Fixes issue #1190 --- src/playlist/playlistview.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/playlist/playlistview.cpp b/src/playlist/playlistview.cpp index 228afc58a..4029cb4e0 100644 --- a/src/playlist/playlistview.cpp +++ b/src/playlist/playlistview.cpp @@ -439,7 +439,8 @@ void PlaylistView::keyPressEvent(QKeyEvent* event) { if (currentIndex().isValid()) emit PlayItem(currentIndex()); event->accept(); - } else if(event->key() == Qt::Key_Space) { + } else if(event->modifiers() != Qt::ControlModifier //Ctrl+Space selects the item + && event->key() == Qt::Key_Space) { emit PlayPause(); event->accept(); } else if(event->key() == Qt::Key_Left) {