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 | setupPreferences(); | 318 | setupPreferences(); |
| 319 | 319 | ||
| 320 | #if !defined(DISABLE_QML) | 320 | #if !defined(DISABLE_QML) |
| 321 | #ifdef USE_GL | ||
| 321 | _primaryWidget->installEventFilter(offscreenUi.data()); | 322 | _primaryWidget->installEventFilter(offscreenUi.data()); |
| 323 | #else | ||
| 324 | _vkWindow->installEventFilter(offscreenUi.data()); //VKTODO | ||
| 325 | #endif | ||
| 322 | offscreenUi->setMouseTranslator([=, this](const QPointF& pt) { | 326 | offscreenUi->setMouseTranslator([=, this](const QPointF& pt) { |
| 323 | QPointF result = pt; | 327 | QPointF result = pt; |
| 324 | auto displayPlugin = getActiveDisplayPlugin(); | 328 | auto displayPlugin = getActiveDisplayPlugin(); |