mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-27 02:38:46 +02:00
Merge pull request #11570 from jherico/overlays_blocking
Remove unnecessary blocking call
This commit is contained in:
commit
38b467a6bf
1 changed files with 0 additions and 7 deletions
|
@ -741,13 +741,6 @@ void Overlays::sendHoverLeaveOverlay(const OverlayID& id, const PointerEvent& ev
|
||||||
}
|
}
|
||||||
|
|
||||||
OverlayID Overlays::getKeyboardFocusOverlay() {
|
OverlayID Overlays::getKeyboardFocusOverlay() {
|
||||||
if (QThread::currentThread() != thread()) {
|
|
||||||
OverlayID result;
|
|
||||||
PROFILE_RANGE(script, __FUNCTION__);
|
|
||||||
BLOCKING_INVOKE_METHOD(this, "getKeyboardFocusOverlay", Q_RETURN_ARG(OverlayID, result));
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
return qApp->getKeyboardFocusOverlay();
|
return qApp->getKeyboardFocusOverlay();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue