Showing the changes to interface/src/Application_Graphics.cpp (1 of 42 files). Show all
Unified · Split
| @@ -319,7 +319,7 @@ void Application::initializeUi() { · 318 unmodified lines | ||
| 319 | 319 | |
| 320 | 320 | #if !defined(DISABLE_QML) |
| 321 | 321 | _glWidget->installEventFilter(offscreenUi.data()); |
| 322 | − offscreenUi->setMouseTranslator([=](const QPointF& pt) { | |
| 322 | + offscreenUi->setMouseTranslator([=, this](const QPointF& pt) { | |
| 323 | 323 | QPointF result = pt; |
| 324 | 324 | auto displayPlugin = getActiveDisplayPlugin(); |
| 325 | 325 | if (displayPlugin->isHmd()) { |
| @@ -362,7 +362,7 @@ void Application::initializeUi() { · 36 unmodified lines | ||
| 362 | 362 | } |
| 363 | 363 | |
| 364 | 364 | auto compositorHelper = DependencyManager::get<CompositorHelper>(); |
| 365 | − connect(compositorHelper.data(), &CompositorHelper::allowMouseCaptureChanged, this, [=] { | |
| 365 | + connect(compositorHelper.data(), &CompositorHelper::allowMouseCaptureChanged, this, [=, this] { | |
| 366 | 366 | if (isHMDMode()) { |
| 367 | 367 | auto compositorHelper = DependencyManager::get<CompositorHelper>(); // don't capture outer smartpointer |
| 368 | 368 | showCursor(compositorHelper->getAllowMouseCapture() ? |