mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 02:47:50 +02:00
Simplified ScriptSecurity.qml
This commit is contained in:
parent
1887a82b4b
commit
95406c44c6
1 changed files with 2 additions and 8 deletions
|
@ -43,10 +43,6 @@ Rectangle {
|
||||||
console.info("Setting Protect Avatar URLs to:", enabled);
|
console.info("Setting Protect Avatar URLs to:", enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
function initCheckbox() {
|
|
||||||
whitelistEnabled.checked = Settings.getValue("private/scriptPermissionGetAvatarURLEnable", true);
|
|
||||||
}
|
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
width: parent.width;
|
width: parent.width;
|
||||||
height: 120;
|
height: 120;
|
||||||
|
@ -69,12 +65,10 @@ Rectangle {
|
||||||
height: 60;
|
height: 60;
|
||||||
|
|
||||||
CheckBox {
|
CheckBox {
|
||||||
Component.onCompleted: {
|
|
||||||
initCheckbox();
|
|
||||||
}
|
|
||||||
|
|
||||||
id: whitelistEnabled;
|
id: whitelistEnabled;
|
||||||
|
|
||||||
|
checked: Settings.getValue("private/scriptPermissionGetAvatarURLEnable", true);
|
||||||
|
|
||||||
anchors.right: parent.right;
|
anchors.right: parent.right;
|
||||||
anchors.top: parent.top;
|
anchors.top: parent.top;
|
||||||
anchors.topMargin: 10;
|
anchors.topMargin: 10;
|
||||||
|
|
Loading…
Reference in a new issue