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
308 // Settings > LOD...308 // Settings > LOD...
309 action = addActionToQMenuAndActionHash(settingsMenu, "LOD...");309 action = addActionToQMenuAndActionHash(settingsMenu, "LOD...");
310 connect(action, &QAction::triggered, [] {310 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");
312 });313 });
313 314
314 // Settings > Control with Speech [advanced]315 // Settings > Control with Speech [advanced]