History

warning fixes

Anthony J. Thibault committed 9 years ago

Commit e4076e61 parent 47e87e11 file · +1 −2Browse files

Showing the changes to libraries/script-engine/src/TabletScriptingInterface.cpp (1 of 1 file). Show all

Unified · Split

libraries/script-engine/src/TabletScriptingInterface.cpp+1−2
@@ -170,7 +170,6 @@ QObject* TabletScriptingInterface::getFlags() · 169 unmodified lines
170170 static const char* TABLET_SOURCE_URL = "Tablet.qml";
171171 static const char* WEB_VIEW_SOURCE_URL = "TabletWebView.qml";
172172 static const char* VRMENU_SOURCE_URL = "TabletMenu.qml";
173−static int s_windowNameCounter = 1;
174173
175174 class TabletRootWindow : public QmlWindowClass {
176175 virtual QString qmlSource() const { return "hifi/tablet/WindowRoot.qml"; }
@@ -193,7 +192,7 @@ void TabletProxy::setToolbarMode(bool toolbarMode) { · 16 unmodified lines
193192
194193 // create new desktop window
195194 auto offscreenUi = DependencyManager::get<OffscreenUi>();
196− offscreenUi->executeOnUiThread([=, this] {
195+ offscreenUi->executeOnUiThread([=] {
197196 auto tabletRootWindow = new TabletRootWindow();
198197 tabletRootWindow->initQml(QVariantMap());
199198 auto quickItem = tabletRootWindow->asQuickItem();