mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 15:13:41 +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() {
|
||||
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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue