Showing the changes to interface/src/Application_Graphics.cpp (1 of 10 files). Show all
Unified · Split
| @@ -318,7 +318,11 @@ void Application::initializeUi() { · 317 unmodified lines | ||
| 318 | 318 | setupPreferences(); |
| 319 | 319 | |
| 320 | 320 | #if !defined(DISABLE_QML) |
| 321 | +#ifdef USE_GL | |
| 321 | 322 | _primaryWidget->installEventFilter(offscreenUi.data()); |
| 323 | +#else | |
| 324 | + _vkWindow->installEventFilter(offscreenUi.data()); //VKTODO | |
| 325 | +#endif | |
| 322 | 326 | offscreenUi->setMouseTranslator([=, this](const QPointF& pt) { |
| 323 | 327 | QPointF result = pt; |
| 324 | 328 | auto displayPlugin = getActiveDisplayPlugin(); |