mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +02:00
Code tidy
This commit is contained in:
parent
c6463abfb8
commit
0fdcf381fa
1 changed files with 1 additions and 4 deletions
|
@ -213,10 +213,7 @@ bool ControllerScriptingInterface::isKeyCaptured(QKeyEvent* event) const {
|
|||
|
||||
bool ControllerScriptingInterface::isKeyCaptured(const KeyEvent& event) const {
|
||||
// if we've captured some combination of this key it will be in the map
|
||||
if (_capturedKeys.contains(event.key, event)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return _capturedKeys.contains(event.key, event);
|
||||
}
|
||||
|
||||
void ControllerScriptingInterface::captureKeyEvents(const KeyEvent& event) {
|
||||
|
|
Loading…
Reference in a new issue