chore: run qmlformat
This commit is contained in:
parent
796c2e4e76
commit
beddbb111e
4 changed files with 5 additions and 9 deletions
|
|
@ -69,7 +69,6 @@ Scope {
|
||||||
onPressed: root.launcherInterrupted = true
|
onPressed: root.launcherInterrupted = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
CustomShortcut {
|
CustomShortcut {
|
||||||
name: "sidebar"
|
name: "sidebar"
|
||||||
description: "Toggle sidebar"
|
description: "Toggle sidebar"
|
||||||
|
|
|
||||||
|
|
@ -70,8 +70,7 @@ StyledRect {
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
if (modelData.state !== undefined && modelData.state) {
|
if (modelData.state !== undefined && modelData.state) {
|
||||||
_checked = modelData.state;
|
_checked = modelData.state;
|
||||||
}
|
} else if (root.rootItem && modelData.propertyName) {
|
||||||
else if (root.rootItem && modelData.propertyName) {
|
|
||||||
const propName = modelData.propertyName;
|
const propName = modelData.propertyName;
|
||||||
const rootItem = root.rootItem;
|
const rootItem = root.rootItem;
|
||||||
_checked = Qt.binding(function () {
|
_checked = Qt.binding(function () {
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,7 @@ StyledRect {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.id === "vpn") {
|
if (item.id === "vpn") {
|
||||||
return Config.utilities.vpn.provider.some(p =>
|
return Config.utilities.vpn.provider.some(p => typeof p === "object" ? (p.enabled === true) : false);
|
||||||
typeof p === "object" ? (p.enabled === true) : false
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
seenIds.add(item.id);
|
seenIds.add(item.id);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue