mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-17 23:04:06 +00:00
* 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:
parent
23abdb9b44
commit
4ab4eac5a7
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue