mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-25 16:13:54 -07:00
Server List from JSON (#3165)
This commit is contained in:
parent
0c10b66a2d
commit
61e509585f
13 changed files with 376 additions and 161 deletions
|
|
@ -150,10 +150,7 @@ bool ShortcutsSettings::isKeyAllowed(QString name, QString Sequences)
|
|||
<< "Shift+S"
|
||||
<< "Shift+Left"
|
||||
<< "Shift+Right");
|
||||
if (forbiddenKeys.contains(checkSequence)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return !forbiddenKeys.contains(checkSequence);
|
||||
}
|
||||
|
||||
bool ShortcutsSettings::isValid(QString name, QString Sequences)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue