mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 20:23:04 +02:00
warning fixes
This commit is contained in:
parent
47e87e1ad4
commit
e4076e6244
1 changed files with 1 additions and 2 deletions
|
@ -170,7 +170,6 @@ QObject* TabletScriptingInterface::getFlags()
|
||||||
static const char* TABLET_SOURCE_URL = "Tablet.qml";
|
static const char* TABLET_SOURCE_URL = "Tablet.qml";
|
||||||
static const char* WEB_VIEW_SOURCE_URL = "TabletWebView.qml";
|
static const char* WEB_VIEW_SOURCE_URL = "TabletWebView.qml";
|
||||||
static const char* VRMENU_SOURCE_URL = "TabletMenu.qml";
|
static const char* VRMENU_SOURCE_URL = "TabletMenu.qml";
|
||||||
static int s_windowNameCounter = 1;
|
|
||||||
|
|
||||||
class TabletRootWindow : public QmlWindowClass {
|
class TabletRootWindow : public QmlWindowClass {
|
||||||
virtual QString qmlSource() const { return "hifi/tablet/WindowRoot.qml"; }
|
virtual QString qmlSource() const { return "hifi/tablet/WindowRoot.qml"; }
|
||||||
|
@ -193,7 +192,7 @@ void TabletProxy::setToolbarMode(bool toolbarMode) {
|
||||||
|
|
||||||
// create new desktop window
|
// create new desktop window
|
||||||
auto offscreenUi = DependencyManager::get<OffscreenUi>();
|
auto offscreenUi = DependencyManager::get<OffscreenUi>();
|
||||||
offscreenUi->executeOnUiThread([=, this] {
|
offscreenUi->executeOnUiThread([=] {
|
||||||
auto tabletRootWindow = new TabletRootWindow();
|
auto tabletRootWindow = new TabletRootWindow();
|
||||||
tabletRootWindow->initQml(QVariantMap());
|
tabletRootWindow->initQml(QVariantMap());
|
||||||
auto quickItem = tabletRootWindow->asQuickItem();
|
auto quickItem = tabletRootWindow->asQuickItem();
|
||||||
|
|
Loading…
Reference in a new issue