History

Add LOD settings to Tablet UI

Vladyslav Stelmakhovskyi committed 9 years ago

Commit 9f7c5a11 parent 2cc72372 files · +36 −1Browse files

Showing the changes to interface/src/Menu.cpp (1 of 2 files). Show all

Unified · Split

interface/src/Menu.cpp+2−1
@@ -308,7 +308,8 @@ Menu::Menu() { · 307 unmodified lines
308308 // Settings > LOD...
309309 action = addActionToQMenuAndActionHash(settingsMenu, "LOD...");
310310 connect(action, &QAction::triggered, [] {
311− DependencyManager::get<OffscreenUi>()->toggle(QString("hifi/dialogs/LodPreferencesDialog.qml"), "LodPreferencesDialog");
311+ qApp->showDialog(QString("hifi/dialogs/LodPreferencesDialog.qml"),
312+ QString("../../hifi/tablet/TabletLodPreferences.qml"), "LodPreferencesDialog");
312313 });
313314
314315 // Settings > Control with Speech [advanced]