mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 19:21:16 +02:00
don't call setQmlTabletRoot twice
This commit is contained in:
parent
fab28e7d44
commit
4cf40554c0
1 changed files with 0 additions and 4 deletions
|
@ -222,10 +222,6 @@ void Web3DOverlay::setupQmlSurface() {
|
||||||
|
|
||||||
_webSurface->getSurfaceContext()->setContextProperty("pathToFonts", "../../");
|
_webSurface->getSurfaceContext()->setContextProperty("pathToFonts", "../../");
|
||||||
|
|
||||||
tabletScriptingInterface->setQmlTabletRoot("com.highfidelity.interface.tablet.system", _webSurface.data());
|
|
||||||
// mark the TabletProxy object as cpp ownership.
|
|
||||||
QObject* tablet = tabletScriptingInterface->getTablet("com.highfidelity.interface.tablet.system");
|
|
||||||
_webSurface->getSurfaceContext()->engine()->setObjectOwnership(tablet, QQmlEngine::CppOwnership);
|
|
||||||
// Override min fps for tablet UI, for silky smooth scrolling
|
// Override min fps for tablet UI, for silky smooth scrolling
|
||||||
setMaxFPS(90);
|
setMaxFPS(90);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue