mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
fix coding conventions
This commit is contained in:
parent
5a2506e94f
commit
4478733c27
1 changed files with 2 additions and 1 deletions
|
@ -48,8 +48,9 @@ QSharedPointer<OffscreenQmlSurface> OffscreenQmlSurfaceCache::buildSurface(const
|
|||
auto surface = QSharedPointer<OffscreenQmlSurface>(new OffscreenQmlSurface());
|
||||
|
||||
QObject::connect(surface.data(), &hifi::qml::OffscreenSurface::rootContextCreated, [this, rootSource](QQmlContext* surfaceContext) {
|
||||
if (_onRootContextCreated)
|
||||
if (_onRootContextCreated) {
|
||||
_onRootContextCreated(rootSource, surfaceContext);
|
||||
}
|
||||
});
|
||||
|
||||
surface->load(rootSource);
|
||||
|
|
Loading…
Reference in a new issue