History

whitelist -> allowlist

HifiExperiments committed 2 years ago

Commit f2d8fa21 parent 2876a4d28 files · +199 −199Browse files

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

Unified · Split

interface/src/Menu.cpp+3−3
@@ -310,13 +310,13 @@ Menu::Menu() { · 309 unmodified lines
310 }310 }
311 });311 });
312 312
313 // Settings > Entity Script / QML Whitelist313 // Settings > Entity Script / QML Allowlist
314 action = addActionToQMenuAndActionHash(settingsMenu, "Entity Script / QML Whitelist");314 action = addActionToQMenuAndActionHash(settingsMenu, "Entity Script / QML Allowlist");
315 connect(action, &QAction::triggered, [] {315 connect(action, &QAction::triggered, [] {
316 auto tablet = DependencyManager::get<TabletScriptingInterface>()->getTablet("com.highfidelity.interface.tablet.system");316 auto tablet = DependencyManager::get<TabletScriptingInterface>()->getTablet("com.highfidelity.interface.tablet.system");
317 auto hmd = DependencyManager::get<HMDScriptingInterface>();317 auto hmd = DependencyManager::get<HMDScriptingInterface>();
318 318
319 tablet->pushOntoStack("hifi/dialogs/security/EntityScriptQMLWhitelist.qml");319 tablet->pushOntoStack("hifi/dialogs/security/EntityScriptQMLAllowlist.qml");
320 320
321 if (!hmd->getShouldShowTablet()) {321 if (!hmd->getShouldShowTablet()) {
322 hmd->toggleShouldShowTablet();322 hmd->toggleShouldShowTablet();