chore: run qmlformat

This commit is contained in:
2 * r + 2 * t 2026-03-20 16:06:40 +11:00
parent 796c2e4e76
commit beddbb111e
4 changed files with 5 additions and 9 deletions

View file

@ -69,7 +69,6 @@ Scope {
onPressed: root.launcherInterrupted = true
}
CustomShortcut {
name: "sidebar"
description: "Toggle sidebar"

View file

@ -70,8 +70,7 @@ StyledRect {
Component.onCompleted: {
if (modelData.state !== undefined && modelData.state) {
_checked = modelData.state;
}
else if (root.rootItem && modelData.propertyName) {
} else if (root.rootItem && modelData.propertyName) {
const propName = modelData.propertyName;
const rootItem = root.rootItem;
_checked = Qt.binding(function () {

View file

@ -26,9 +26,7 @@ StyledRect {
}
if (item.id === "vpn") {
return Config.utilities.vpn.provider.some(p =>
typeof p === "object" ? (p.enabled === true) : false
);
return Config.utilities.vpn.provider.some(p => typeof p === "object" ? (p.enabled === true) : false);
}
seenIds.add(item.id);