mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 20:44:14 +02:00
Accept touch events in the GL window
This commit is contained in:
parent
f0d0979ade
commit
07553e7a7c
1 changed files with 1 additions and 0 deletions
|
@ -532,6 +532,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) :
|
|||
_window->restoreGeometry();
|
||||
_window->setVisible(true);
|
||||
container->setFocusPolicy(Qt::StrongFocus);
|
||||
container->setAttribute(Qt::WA_AcceptTouchEvents);
|
||||
container->setFocus();
|
||||
container->installEventFilter(DependencyManager::get<OffscreenUi>().data());
|
||||
|
||||
|
|
Loading…
Reference in a new issue