mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 07:17:43 +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 {
|
bool ControllerScriptingInterface::isKeyCaptured(const KeyEvent& event) const {
|
||||||
// if we've captured some combination of this key it will be in the map
|
// if we've captured some combination of this key it will be in the map
|
||||||
if (_capturedKeys.contains(event.key, event)) {
|
return _capturedKeys.contains(event.key, event);
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ControllerScriptingInterface::captureKeyEvents(const KeyEvent& event) {
|
void ControllerScriptingInterface::captureKeyEvents(const KeyEvent& event) {
|
||||||
|
|
Loading…
Reference in a new issue