From 4ab4eac5a7d7ea3f80180736f0432f41e4942fb5 Mon Sep 17 00:00:00 2001 From: Konstantin Isakov Date: Wed, 22 Apr 2009 15:33:39 +0000 Subject: [PATCH] * Add modifiers to the second key in QKeySequence() too, for future compatibility where we might want to use more generic combos, with each key posessing its own set of modifiers. --- src/config.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.cc b/src/config.cc index 4adeb9a8..79c591a0 100644 --- a/src/config.cc +++ b/src/config.cc @@ -58,7 +58,7 @@ HotKey::HotKey( QKeySequence const & seq ): QKeySequence HotKey::toKeySequence() const { - return QKeySequence( key1 | modifiers, key2 ); + return QKeySequence( key1 | modifiers, key2 | modifiers ); } Preferences::Preferences():