Showing the changes to libraries/script-engine/src/TabletScriptingInterface.cpp (1 of 5 files). Show all
Unified · Split
| @@ -83,7 +83,7 @@ QQuickWindow* TabletScriptingInterface::getTabletWindow() { · 82 unmodified lines | |||
| 83 | QObject* qmlSurface = tablet->getTabletSurface(); | 83 | QObject* qmlSurface = tablet->getTabletSurface(); |
| 84 | OffscreenQmlSurface* surface = dynamic_cast<OffscreenQmlSurface*>(qmlSurface); | 84 | OffscreenQmlSurface* surface = dynamic_cast<OffscreenQmlSurface*>(qmlSurface); |
| 85 | 85 | ||
| 86 | if (!surface) { | 86 | if (!surface) { |
| 87 | return nullptr; | 87 | return nullptr; |
| 88 | } | 88 | } |
| 89 | QQuickWindow* window = surface->getWindow(); | 89 | QQuickWindow* window = surface->getWindow(); |