MCPcopy Create free account
hub / github.com/LeFroid/Viper-Browser / onSettingChanged

Method onSettingChanged

src/core/user_scripts/UserScriptManager.cpp:186–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186void UserScriptManager::onSettingChanged(BrowserSetting setting, const QVariant &value)
187{
188 if (setting == BrowserSetting::UserScriptsEnabled)
189 setEnabled(value.toBool());
190}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected