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
|
||||
}
|
||||
|
||||
|
||||
CustomShortcut {
|
||||
name: "sidebar"
|
||||
description: "Toggle sidebar"
|
||||
|
|
|
|||
|
|
@ -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 () {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue