* 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.
This commit is contained in:
Konstantin Isakov 2009-04-22 15:33:39 +00:00
parent 23abdb9b44
commit 4ab4eac5a7

View file

@ -58,7 +58,7 @@ HotKey::HotKey( QKeySequence const & seq ):
QKeySequence HotKey::toKeySequence() const QKeySequence HotKey::toKeySequence() const
{ {
return QKeySequence( key1 | modifiers, key2 ); return QKeySequence( key1 | modifiers, key2 | modifiers );
} }
Preferences::Preferences(): Preferences::Preferences():