From 516ec9dd54bda468f51416f8c465dc6cc7a9c66d Mon Sep 17 00:00:00 2001 From: AramJonghu Date: Fri, 30 Oct 2026 22:44:12 +0100 Subject: [PATCH] chore(format): format files that were unformatted --- Components/CircularProgress.qml | 6 ++---- Components/ColorArcPicker.qml | 3 +-- Components/Coloriser.qml | 3 +-- Components/CustomClippingRect.qml | 3 +-- Components/CustomClippingWrapperRect.qml | 3 +-- Components/CustomProgressBar.qml | 6 ++---- Components/CustomSwitch.qml | 15 +++++--------- Components/CustomText.qml | 6 ++---- Components/FadeImage.qml | 3 +-- Components/LineGraph.qml | 5 ++++- Components/LoadingIndicator.qml | 3 +-- Components/MarqueeText.qml | 6 ++---- Components/SplitButton.qml | 9 +++------ Components/Toast/Toasts.qml | 9 +++------ Components/WavyTopRect.qml | 3 +-- Daemons/Audio.qml | 1 - Daemons/Network.qml | 3 +-- Daemons/Nmcli.qml | 7 ++----- Daemons/NotifServer.qml | 3 +-- Greeter/Components/CircularProgress.qml | 6 ++---- Greeter/Components/CustomClippingRect.qml | 3 +-- Greeter/Components/CustomText.qml | 6 ++---- Greeter/Components/FadeImage.qml | 3 +-- Greeter/Components/LoadingIndicator.qml | 3 +-- Greeter/Helpers/Weather.qml | 1 - Greeter/shell.qml | 1 - Helpers/Brightness.qml | 3 +-- Helpers/IdleInhibitor.qml | 3 +-- Modules/Bar/Popouts/ClipWrapper.qml | 3 +-- Modules/Bar/Popouts/TrayMenuPopout.qml | 21 +++++++------------- Modules/Dashboard/Dash/Calendar.qml | 6 ++---- Modules/Dashboard/Dash/Resources.qml | 3 +-- Modules/Dashboard/Media/BackgroundShapes.qml | 6 ++---- Modules/Dashboard/Media/CoverArt.qml | 3 +-- Modules/DesktopIcons/DesktopIconDelegate.qml | 15 +++++--------- Modules/Dock/Parts/DockAppButton.qml | 3 +-- Modules/Launcher/CarouselView.qml | 3 +-- Modules/Launcher/Services/Actions.qml | 3 +-- Modules/Osd/Content.qml | 3 +-- Modules/Resources/Cards/BatteryTank.qml | 3 +-- Modules/Resources/Cards/MemoryCard.qml | 3 +-- Modules/Resources/Content.qml | 18 ++++++----------- Modules/Settings/Common/ConnectedRect.qml | 3 +-- Modules/Sidebar/Notif.qml | 6 ++---- Modules/Sidebar/NotifDockList.qml | 9 +++------ Modules/Sidebar/NotifGroup.qml | 12 ++++------- Modules/Sidebar/NotifGroupList.qml | 9 +++------ Modules/Sidebar/Utils/Background.qml | 3 +-- Plugins/ZShell/Models/wallpaperdb.cpp | 7 ++++--- Plugins/ZShell/Models/wallpaperdb.hpp | 4 ++-- Plugins/ZShell/Wallpaper/videotranscoder.cpp | 4 ++-- Plugins/ZShell/Wallpaper/wallpaperobject.cpp | 8 +++----- Services/ShellState.qml | 3 +-- 53 files changed, 100 insertions(+), 187 deletions(-) mode change 100755 => 100644 Modules/Launcher/CarouselView.qml diff --git a/Components/CircularProgress.qml b/Components/CircularProgress.qml index 59b1bf5..e753280 100644 --- a/Components/CircularProgress.qml +++ b/Components/CircularProgress.qml @@ -46,8 +46,7 @@ Item { strokeWidth: Math.min(1, remainingArc.sweepAngle) * root.strokeWidth Behavior on strokeColor { - CAnim { - } + CAnim {} } PathAngleArc { @@ -84,8 +83,7 @@ Item { } } Behavior on color { - CAnim { - } + CAnim {} } Anim on waveProgress { id: waveProgAnim diff --git a/Components/ColorArcPicker.qml b/Components/ColorArcPicker.qml index 43b9c34..de580e1 100644 --- a/Components/ColorArcPicker.qml +++ b/Components/ColorArcPicker.qml @@ -160,8 +160,7 @@ Item { Behavior on color { enabled: false - CAnim { - } + CAnim {} } } diff --git a/Components/Coloriser.qml b/Components/Coloriser.qml index 77bdf8d..4de1dca 100644 --- a/Components/Coloriser.qml +++ b/Components/Coloriser.qml @@ -8,7 +8,6 @@ MultiEffect { colorization: 1 Behavior on colorizationColor { - CAnim { - } + CAnim {} } } diff --git a/Components/CustomClippingRect.qml b/Components/CustomClippingRect.qml index 9498a06..dc4c75a 100644 --- a/Components/CustomClippingRect.qml +++ b/Components/CustomClippingRect.qml @@ -7,7 +7,6 @@ ClippingRectangle { color: "transparent" Behavior on color { - CAnim { - } + CAnim {} } } diff --git a/Components/CustomClippingWrapperRect.qml b/Components/CustomClippingWrapperRect.qml index 0ff1995..7913be1 100644 --- a/Components/CustomClippingWrapperRect.qml +++ b/Components/CustomClippingWrapperRect.qml @@ -7,7 +7,6 @@ ClippingWrapperRectangle { color: "transparent" Behavior on color { - CAnim { - } + CAnim {} } } diff --git a/Components/CustomProgressBar.qml b/Components/CustomProgressBar.qml index c9666f5..0c20724 100644 --- a/Components/CustomProgressBar.qml +++ b/Components/CustomProgressBar.qml @@ -124,8 +124,7 @@ ProgressBar { anchors.left: parent.left Behavior on implicitWidth { - Anim { - } + Anim {} } Component.onCompleted: implicitWidth = Qt.binding(() => parent.width * root.visualPosition) @@ -222,8 +221,7 @@ ProgressBar { } } Behavior on color { - CAnim { - } + CAnim {} } Anim on waveProgress { duration: root.waveDuration diff --git a/Components/CustomSwitch.qml b/Components/CustomSwitch.qml index bb25a54..b6a13530 100644 --- a/Components/CustomSwitch.qml +++ b/Components/CustomSwitch.qml @@ -105,20 +105,16 @@ Switch { width: height Behavior on end1 { - PropAnim { - } + PropAnim {} } Behavior on end2 { - PropAnim { - } + PropAnim {} } Behavior on start1 { - PropAnim { - } + PropAnim {} } Behavior on start2 { - PropAnim { - } + PropAnim {} } ShapePath { @@ -134,8 +130,7 @@ Switch { strokeWidth: 16 * 0.15 Behavior on strokeColor { - CAnim { - } + CAnim {} } PathLine { diff --git a/Components/CustomText.qml b/Components/CustomText.qml index 5445f5f..e8ee2b8 100644 --- a/Components/CustomText.qml +++ b/Components/CustomText.qml @@ -20,8 +20,7 @@ Text { textFormat: Text.PlainText Behavior on color { - CAnim { - } + CAnim {} } Behavior on text { enabled: root.animate @@ -33,8 +32,7 @@ Text { type: Anim.FastEffects } - PropertyAction { - } + PropertyAction {} TAnim { target: root diff --git a/Components/FadeImage.qml b/Components/FadeImage.qml index 79617aa..786e3a8 100644 --- a/Components/FadeImage.qml +++ b/Components/FadeImage.qml @@ -65,8 +65,7 @@ Image { value: root.source } - PropertyAction { - } + PropertyAction {} ScriptAction { script: root.maybeStartInAnim() diff --git a/Components/LineGraph.qml b/Components/LineGraph.qml index c16a1a6..8445963 100644 --- a/Components/LineGraph.qml +++ b/Components/LineGraph.qml @@ -138,7 +138,10 @@ Item { const t = (tlo + thi) / 2; const u = 1 - t; const y = u * u * u * p1.y + 3 * u * u * t * c1y + 3 * u * t * t * c2y + t * t * t * p2.y; - return { x: targetX, y }; + return { + x: targetX, + y + }; } // Part of the curve left/right of a cut x, including the cut point diff --git a/Components/LoadingIndicator.qml b/Components/LoadingIndicator.qml index 2e1132a..21ceaea 100644 --- a/Components/LoadingIndicator.qml +++ b/Components/LoadingIndicator.qml @@ -64,8 +64,7 @@ MaterialShape { to: 360 } Behavior on color { - CAnim { - } + CAnim {} } ElapsedTimer { diff --git a/Components/MarqueeText.qml b/Components/MarqueeText.qml index 7d3d12d..aac13df 100644 --- a/Components/MarqueeText.qml +++ b/Components/MarqueeText.qml @@ -47,12 +47,10 @@ Item { implicitWidth: vertical ? elideText.implicitHeight : elideText.implicitWidth Behavior on leftFadeStrength { - Anim { - } + Anim {} } Behavior on rightFadeStrength { - Anim { - } + Anim {} } onHeightChanged: resetMarquee() diff --git a/Components/SplitButton.qml b/Components/SplitButton.qml index 9f54950..ad60e97 100644 --- a/Components/SplitButton.qml +++ b/Components/SplitButton.qml @@ -102,8 +102,7 @@ Row { topLeftRadius: rad Behavior on rad { - Anim { - } + Anim {} } StateLayer { @@ -127,12 +126,10 @@ Row { text: "expand_more" Behavior on anchors.horizontalCenterOffset { - Anim { - } + Anim {} } Behavior on rotation { - Anim { - } + Anim {} } } } diff --git a/Components/Toast/Toasts.qml b/Components/Toast/Toasts.qml index 0c47503..d5f190c 100644 --- a/Components/Toast/Toasts.qml +++ b/Components/Toast/Toasts.qml @@ -44,8 +44,7 @@ Item { onValuesChanged: root.flagChanged() } - ToastWrapper { - } + ToastWrapper {} } component ToastWrapper: MouseArea { @@ -86,12 +85,10 @@ Item { } } Behavior on opacity { - Anim { - } + Anim {} } Behavior on scale { - Anim { - } + Anim {} } Component.onCompleted: modelData.lock(this) diff --git a/Components/WavyTopRect.qml b/Components/WavyTopRect.qml index 90052f3..718d171 100644 --- a/Components/WavyTopRect.qml +++ b/Components/WavyTopRect.qml @@ -20,8 +20,7 @@ Shape { strokeWidth: 0 Behavior on fillColor { - CAnim { - } + CAnim {} } PathSvg { diff --git a/Daemons/Audio.qml b/Daemons/Audio.qml index beac345..72e3aea 100644 --- a/Daemons/Audio.qml +++ b/Daemons/Audio.qml @@ -141,7 +141,6 @@ Singleton { BeatTracker { id: beatTracker - } PwObjectTracker { diff --git a/Daemons/Network.qml b/Daemons/Network.qml index 5604e1c..0dcb7a9 100644 --- a/Daemons/Network.qml +++ b/Daemons/Network.qml @@ -295,8 +295,7 @@ Singleton { Component { id: apComp - AccessPoint { - } + AccessPoint {} } Process { diff --git a/Daemons/Nmcli.qml b/Daemons/Nmcli.qml index 77fa771..d96a45f 100644 --- a/Daemons/Nmcli.qml +++ b/Daemons/Nmcli.qml @@ -1081,15 +1081,13 @@ Singleton { Component { id: commandProc - CommandProcess { - } + CommandProcess {} } Component { id: apComp - AccessPoint { - } + AccessPoint {} } Timer { @@ -1310,7 +1308,6 @@ Singleton { } stdout: StdioCollector { id: stdoutCollector - } onExited: code => { diff --git a/Daemons/NotifServer.qml b/Daemons/NotifServer.qml index 3360c8b..56a4070 100644 --- a/Daemons/NotifServer.qml +++ b/Daemons/NotifServer.qml @@ -164,8 +164,7 @@ Singleton { Component { id: notifComp - Notif { - } + Notif {} } component Notif: QtObject { diff --git a/Greeter/Components/CircularProgress.qml b/Greeter/Components/CircularProgress.qml index 59b1bf5..e753280 100644 --- a/Greeter/Components/CircularProgress.qml +++ b/Greeter/Components/CircularProgress.qml @@ -46,8 +46,7 @@ Item { strokeWidth: Math.min(1, remainingArc.sweepAngle) * root.strokeWidth Behavior on strokeColor { - CAnim { - } + CAnim {} } PathAngleArc { @@ -84,8 +83,7 @@ Item { } } Behavior on color { - CAnim { - } + CAnim {} } Anim on waveProgress { id: waveProgAnim diff --git a/Greeter/Components/CustomClippingRect.qml b/Greeter/Components/CustomClippingRect.qml index 9498a06..dc4c75a 100644 --- a/Greeter/Components/CustomClippingRect.qml +++ b/Greeter/Components/CustomClippingRect.qml @@ -7,7 +7,6 @@ ClippingRectangle { color: "transparent" Behavior on color { - CAnim { - } + CAnim {} } } diff --git a/Greeter/Components/CustomText.qml b/Greeter/Components/CustomText.qml index 5445f5f..e8ee2b8 100644 --- a/Greeter/Components/CustomText.qml +++ b/Greeter/Components/CustomText.qml @@ -20,8 +20,7 @@ Text { textFormat: Text.PlainText Behavior on color { - CAnim { - } + CAnim {} } Behavior on text { enabled: root.animate @@ -33,8 +32,7 @@ Text { type: Anim.FastEffects } - PropertyAction { - } + PropertyAction {} TAnim { target: root diff --git a/Greeter/Components/FadeImage.qml b/Greeter/Components/FadeImage.qml index 79617aa..786e3a8 100644 --- a/Greeter/Components/FadeImage.qml +++ b/Greeter/Components/FadeImage.qml @@ -65,8 +65,7 @@ Image { value: root.source } - PropertyAction { - } + PropertyAction {} ScriptAction { script: root.maybeStartInAnim() diff --git a/Greeter/Components/LoadingIndicator.qml b/Greeter/Components/LoadingIndicator.qml index 2e1132a..21ceaea 100644 --- a/Greeter/Components/LoadingIndicator.qml +++ b/Greeter/Components/LoadingIndicator.qml @@ -64,8 +64,7 @@ MaterialShape { to: 360 } Behavior on color { - CAnim { - } + CAnim {} } ElapsedTimer { diff --git a/Greeter/Helpers/Weather.qml b/Greeter/Helpers/Weather.qml index 2254405..11cfae7 100644 --- a/Greeter/Helpers/Weather.qml +++ b/Greeter/Helpers/Weather.qml @@ -200,6 +200,5 @@ Singleton { ElapsedTimer { id: timer - } } diff --git a/Greeter/shell.qml b/Greeter/shell.qml index daedb80..0a8d24c 100644 --- a/Greeter/shell.qml +++ b/Greeter/shell.qml @@ -16,7 +16,6 @@ ShellRoot { GreeterState { id: greeter - } GreeterSurface { diff --git a/Helpers/Brightness.qml b/Helpers/Brightness.qml index 201a40a..09abce2 100644 --- a/Helpers/Brightness.qml +++ b/Helpers/Brightness.qml @@ -69,8 +69,7 @@ Singleton { model: Quickshell.screens - Monitor { - } + Monitor {} } Process { diff --git a/Helpers/IdleInhibitor.qml b/Helpers/IdleInhibitor.qml index 8aad68b..d3da4e3 100644 --- a/Helpers/IdleInhibitor.qml +++ b/Helpers/IdleInhibitor.qml @@ -33,8 +33,7 @@ Singleton { implicitHeight: 0 implicitWidth: 0 - mask: Region { - } + mask: Region {} } } diff --git a/Modules/Bar/Popouts/ClipWrapper.qml b/Modules/Bar/Popouts/ClipWrapper.qml index b9471f5..8f6ca3b 100644 --- a/Modules/Bar/Popouts/ClipWrapper.qml +++ b/Modules/Bar/Popouts/ClipWrapper.qml @@ -50,8 +50,7 @@ Item { } Behavior on offsetScale { - Anim { - } + Anim {} } Behavior on x { enabled: !root.horizontal || root.offsetScale < 1 diff --git a/Modules/Bar/Popouts/TrayMenuPopout.qml b/Modules/Bar/Popouts/TrayMenuPopout.qml index 4410c6f..3767486 100644 --- a/Modules/Bar/Popouts/TrayMenuPopout.qml +++ b/Modules/Bar/Popouts/TrayMenuPopout.qml @@ -26,20 +26,15 @@ StackView { initialItem: SubMenu { handle: root.trayItem } - popEnter: NoAnim { - } - popExit: NoAnim { - } - pushEnter: NoAnim { - } - pushExit: NoAnim { - } + popEnter: NoAnim {} + popExit: NoAnim {} + pushEnter: NoAnim {} + pushExit: NoAnim {} Component { id: subMenuComp - SubMenu { - } + SubMenu {} } component NoAnim: Transition { @@ -59,12 +54,10 @@ StackView { spacing: Tokens.spacing.extraSmall Behavior on opacity { - Anim { - } + Anim {} } Behavior on scale { - Anim { - } + Anim {} } Component.onCompleted: shown = true diff --git a/Modules/Dashboard/Dash/Calendar.qml b/Modules/Dashboard/Dash/Calendar.qml index 9d198ef..587c8a0 100644 --- a/Modules/Dashboard/Dash/Calendar.qml +++ b/Modules/Dashboard/Dash/Calendar.qml @@ -307,12 +307,10 @@ CustomMouseArea { } } Behavior on x { - Anim { - } + Anim {} } Behavior on y { - Anim { - } + Anim {} } onTodayItemChanged: { diff --git a/Modules/Dashboard/Dash/Resources.qml b/Modules/Dashboard/Dash/Resources.qml index 9b4a716..e7d6225 100644 --- a/Modules/Dashboard/Dash/Resources.qml +++ b/Modules/Dashboard/Dash/Resources.qml @@ -77,8 +77,7 @@ Item { implicitSize: height Behavior on clampedVal { - Anim { - } + Anim {} } MaterialIcon { diff --git a/Modules/Dashboard/Media/BackgroundShapes.qml b/Modules/Dashboard/Media/BackgroundShapes.qml index 1847944..fb8064c 100644 --- a/Modules/Dashboard/Media/BackgroundShapes.qml +++ b/Modules/Dashboard/Media/BackgroundShapes.qml @@ -33,8 +33,7 @@ Item { Repeater { id: shapes - DriftingShape { - } + DriftingShape {} } FrameAnimation { @@ -80,8 +79,7 @@ Item { shape: root.shapePool[Math.floor(Math.random() * root.shapePool.length)] Behavior on color { - CAnim { - } + CAnim {} } Behavior on opacity { Anim { diff --git a/Modules/Dashboard/Media/CoverArt.qml b/Modules/Dashboard/Media/CoverArt.qml index 6cb6f22..bc377b2 100644 --- a/Modules/Dashboard/Media/CoverArt.qml +++ b/Modules/Dashboard/Media/CoverArt.qml @@ -18,8 +18,7 @@ Item { layer.enabled: true Behavior on fallbackColor { - CAnim { - } + CAnim {} } layer.effect: MultiEffect { blurMax: 1 diff --git a/Modules/DesktopIcons/DesktopIconDelegate.qml b/Modules/DesktopIcons/DesktopIconDelegate.qml index 49b212c..9a4cae2 100644 --- a/Modules/DesktopIcons/DesktopIconDelegate.qml +++ b/Modules/DesktopIcons/DesktopIconDelegate.qml @@ -54,14 +54,12 @@ Item { Behavior on x { enabled: !mouseArea.drag.active && !root.isSnapping && !root.iconsRoot.selectedIcons.includes(root.filePath) - Anim { - } + Anim {} } Behavior on y { enabled: !mouseArea.drag.active && !root.isSnapping && !root.iconsRoot.selectedIcons.includes(root.filePath) - Anim { - } + Anim {} } Item { @@ -85,8 +83,7 @@ Item { y: (root.iconsRoot.selectedIcons.includes(root.filePath) && root.iconsRoot.dragLeader !== "" && root.iconsRoot.dragLeader !== root.filePath) ? root.iconsRoot.groupDragY : 0 } transitions: Transition { - Anim { - } + Anim {} } onXChanged: { @@ -208,8 +205,7 @@ Item { radius: Tokens.rounding.small Behavior on opacity { - Anim { - } + Anim {} } } @@ -268,8 +264,7 @@ Item { radius: Tokens.rounding.small Behavior on opacity { - Anim { - } + Anim {} } } } diff --git a/Modules/Dock/Parts/DockAppButton.qml b/Modules/Dock/Parts/DockAppButton.qml index d6ca2f0..40fe4f5 100644 --- a/Modules/Dock/Parts/DockAppButton.qml +++ b/Modules/Dock/Parts/DockAppButton.qml @@ -82,8 +82,7 @@ CustomRect { Loader { active: isSeparator - sourceComponent: DockSeparator { - } + sourceComponent: DockSeparator {} anchors { fill: parent diff --git a/Modules/Launcher/CarouselView.qml b/Modules/Launcher/CarouselView.qml old mode 100755 new mode 100644 index 3db4299..3353fe7 --- a/Modules/Launcher/CarouselView.qml +++ b/Modules/Launcher/CarouselView.qml @@ -41,8 +41,7 @@ CarouselView { tileHeight: focalWidth / 16 * 9 delegate: Component { - WallpaperTile { - } + WallpaperTile {} } Component.onDestruction: Wallpapers.stopPreview() diff --git a/Modules/Launcher/Services/Actions.qml b/Modules/Launcher/Services/Actions.qml index 135dbc3..7306e04 100644 --- a/Modules/Launcher/Services/Actions.qml +++ b/Modules/Launcher/Services/Actions.qml @@ -22,8 +22,7 @@ Searcher { model: Config.launcher.actions.values.filter(a => (a.enabled ?? true) && (Config.launcher.enableDangerousActions || !(a.dangerous ?? false))) - Action { - } + Action {} } component Action: QtObject { diff --git a/Modules/Osd/Content.qml b/Modules/Osd/Content.qml index e1ac3d9..55db017 100644 --- a/Modules/Osd/Content.qml +++ b/Modules/Osd/Content.qml @@ -131,8 +131,7 @@ Item { } } Behavior on opacity { - Anim { - } + Anim {} } } } diff --git a/Modules/Resources/Cards/BatteryTank.qml b/Modules/Resources/Cards/BatteryTank.qml index 7c26d63..1028855 100644 --- a/Modules/Resources/Cards/BatteryTank.qml +++ b/Modules/Resources/Cards/BatteryTank.qml @@ -15,8 +15,7 @@ ClipRect { radius: Tokens.rounding.largeIncreased Behavior on animPerc { - Anim { - } + Anim {} } Contents { diff --git a/Modules/Resources/Cards/MemoryCard.qml b/Modules/Resources/Cards/MemoryCard.qml index c2f8041..bb56af0 100644 --- a/Modules/Resources/Cards/MemoryCard.qml +++ b/Modules/Resources/Cards/MemoryCard.qml @@ -51,8 +51,7 @@ CustomRect { value: Memory.percentage Behavior on clampedVal { - Anim { - } + Anim {} } ColumnLayout { diff --git a/Modules/Resources/Content.qml b/Modules/Resources/Content.qml index 53909d5..4ac4893 100644 --- a/Modules/Resources/Content.qml +++ b/Modules/Resources/Content.qml @@ -81,8 +81,7 @@ Item { active: Config.dashboard.performance.showStorage - sourceComponent: StorageCard { - } + sourceComponent: StorageCard {} } WrappedLoader { @@ -90,8 +89,7 @@ Item { active: Config.dashboard.performance.showMemory - sourceComponent: MemoryCard { - } + sourceComponent: MemoryCard {} } WrappedLoader { @@ -99,8 +97,7 @@ Item { active: Config.dashboard.performance.showVram - sourceComponent: VramCard { - } + sourceComponent: VramCard {} } WrappedLoader { @@ -108,8 +105,7 @@ Item { active: Config.dashboard.performance.showNetwork && !vramCard.active - sourceComponent: NetworkCard { - } + sourceComponent: NetworkCard {} } } @@ -118,8 +114,7 @@ Item { active: Config.dashboard.performance.showNetwork && vramCard.active - sourceComponent: NetworkCard { - } + sourceComponent: NetworkCard {} } } @@ -127,8 +122,7 @@ Item { Layout.fillWidth: false active: Battery.isLaptop && Config.dashboard.performance.showBattery - sourceComponent: BatteryTank { - } + sourceComponent: BatteryTank {} } } diff --git a/Modules/Settings/Common/ConnectedRect.qml b/Modules/Settings/Common/ConnectedRect.qml index 04762a6..cdd5b0c 100644 --- a/Modules/Settings/Common/ConnectedRect.qml +++ b/Modules/Settings/Common/ConnectedRect.qml @@ -22,8 +22,7 @@ CustomRect { topRightRadius: first ? Tokens.rounding.largeIncreased : Tokens.rounding.extraSmall Behavior on opacity { - Anim { - } + Anim {} } CustomRect { diff --git a/Modules/Sidebar/Notif.qml b/Modules/Sidebar/Notif.qml index ae7a016..7a90f09 100644 --- a/Modules/Sidebar/Notif.qml +++ b/Modules/Sidebar/Notif.qml @@ -26,8 +26,7 @@ CustomRect { state: expanded ? "expanded" : "" Behavior on implicitHeight { - Anim { - } + Anim {} } states: State { name: "expanded" @@ -116,8 +115,7 @@ CustomRect { anchors.topMargin: Tokens.spacing.extraSmall shouldBeActive: root.expanded - sourceComponent: ExpandedBody { - } + sourceComponent: ExpandedBody {} } component ExpandedBody: ColumnLayout { diff --git a/Modules/Sidebar/NotifDockList.qml b/Modules/Sidebar/NotifDockList.qml index 759e6d9..a806139 100644 --- a/Modules/Sidebar/NotifDockList.qml +++ b/Modules/Sidebar/NotifDockList.qml @@ -58,18 +58,15 @@ LazyListView { } } Behavior on scale { - Anim { - } + Anim {} } Behavior on x { - Anim { - } + Anim {} } Behavior on y { enabled: notif.LazyListView.ready - Anim { - } + Anim {} } onPositionChanged: event => { diff --git a/Modules/Sidebar/NotifGroup.qml b/Modules/Sidebar/NotifGroup.qml index 4cb7b67..9e9cd3c 100644 --- a/Modules/Sidebar/NotifGroup.qml +++ b/Modules/Sidebar/NotifGroup.qml @@ -52,8 +52,7 @@ CustomRect { radius: Tokens.rounding.large Behavior on implicitHeight { - Anim { - } + Anim {} } Component.onDestruction: { @@ -155,8 +154,7 @@ CustomRect { spacing: root.expanded ? Math.round(Tokens.spacing.extraSmall) : 0 Behavior on spacing { - Anim { - } + Anim {} } RowLayout { @@ -214,12 +212,10 @@ CustomRect { text: "expand_more" Behavior on Layout.topMargin { - Anim { - } + Anim {} } Behavior on rotation { - Anim { - } + Anim {} } } } diff --git a/Modules/Sidebar/NotifGroupList.qml b/Modules/Sidebar/NotifGroupList.qml index b047878..3bf6c3e 100644 --- a/Modules/Sidebar/NotifGroupList.qml +++ b/Modules/Sidebar/NotifGroupList.qml @@ -59,18 +59,15 @@ LazyListView { } } Behavior on scale { - Anim { - } + Anim {} } Behavior on x { - Anim { - } + Anim {} } Behavior on y { enabled: notif.LazyListView.ready - Anim { - } + Anim {} } Component.onCompleted: modelData?.lock(this) diff --git a/Modules/Sidebar/Utils/Background.qml b/Modules/Sidebar/Utils/Background.qml index f312b26..7a873b3 100644 --- a/Modules/Sidebar/Utils/Background.qml +++ b/Modules/Sidebar/Utils/Background.qml @@ -17,8 +17,7 @@ ShapePath { strokeWidth: -1 Behavior on fillColor { - CAnim { - } + CAnim {} } PathLine { diff --git a/Plugins/ZShell/Models/wallpaperdb.cpp b/Plugins/ZShell/Models/wallpaperdb.cpp index ace438d..b70beb2 100644 --- a/Plugins/ZShell/Models/wallpaperdb.cpp +++ b/Plugins/ZShell/Models/wallpaperdb.cpp @@ -653,7 +653,8 @@ void WallpaperDb::queueMetadata( existingCache.isEmpty() ? "" : ", existing blob"); m_queue.append( - MetadataJob{entry, entry->path(), isVideo, existingCache, existingPoster}); + MetadataJob{ + entry, entry->path(), isVideo, existingCache, existingPoster}); if (!m_queueTimer.isActive()) { m_queueTimer.start(); @@ -771,8 +772,8 @@ void WallpaperDb::runMetadataJob(const MetadataJob& job) { QByteArray poster = job.existingPoster; if (poster.isEmpty()) { - poster = - job.isVideo ? videoPosterBytes(job.path, cacheSize) : cache; + poster = job.isVideo ? videoPosterBytes(job.path, cacheSize) + : cache; } result.cache = cache; diff --git a/Plugins/ZShell/Models/wallpaperdb.hpp b/Plugins/ZShell/Models/wallpaperdb.hpp index e41053d..b8cb4b1 100644 --- a/Plugins/ZShell/Models/wallpaperdb.hpp +++ b/Plugins/ZShell/Models/wallpaperdb.hpp @@ -110,8 +110,8 @@ class WallpaperDb : public QObject { [[nodiscard]] static QString thumbnailUrl(const QString& path); - Q_INVOKABLE QVariantMap crop(const QString& path, const QString& screen) - const; + Q_INVOKABLE QVariantMap + crop(const QString& path, const QString& screen) const; Q_INVOKABLE void setCrop( const QString& path, const QString& screen, const QVariantMap& crop); diff --git a/Plugins/ZShell/Wallpaper/videotranscoder.cpp b/Plugins/ZShell/Wallpaper/videotranscoder.cpp index 5e998ab..dfc1d55 100644 --- a/Plugins/ZShell/Wallpaper/videotranscoder.cpp +++ b/Plugins/ZShell/Wallpaper/videotranscoder.cpp @@ -50,7 +50,7 @@ QString VideoTranscoder::codecName(const QString& path) const { if (!probe.waitForFinished(2000) || probe.exitCode() != 0) { qWarning(transcodeLog) << "WallpaperService: ffprobe failed for" << path - << "(exit" << probe.exitCode() << ")"; + << "(exit" << probe.exitCode() << ")"; return {}; } @@ -120,7 +120,7 @@ void VideoTranscoder::start(const QString& src, const QString& dst) { }); qWarning(transcodeLog) << "WallpaperService: transcoding" << src << "->" - << dst; + << dst; proc->setProgram("nice"); proc->setArguments({ diff --git a/Plugins/ZShell/Wallpaper/wallpaperobject.cpp b/Plugins/ZShell/Wallpaper/wallpaperobject.cpp index 143a637..50ee9c6 100644 --- a/Plugins/ZShell/Wallpaper/wallpaperobject.cpp +++ b/Plugins/ZShell/Wallpaper/wallpaperobject.cpp @@ -72,11 +72,9 @@ void WallpaperObject::syncCrop(const QVariantMap& crop) { const qreal y = crop.value("y").toDouble(); const qreal width = crop.contains("width") ? crop.value("width").toDouble() : 1.0; - const qreal height = crop.contains("height") - ? crop.value("height").toDouble() - : 1.0; - const qreal z = - crop.contains("zoom") ? crop.value("zoom").toDouble() : 1.0; + const qreal height = + crop.contains("height") ? crop.value("height").toDouble() : 1.0; + const qreal z = crop.contains("zoom") ? crop.value("zoom").toDouble() : 1.0; const bool prev = m_pushEnabled; m_pushEnabled = false; diff --git a/Services/ShellState.qml b/Services/ShellState.qml index 7d48f4b..7c423f0 100644 --- a/Services/ShellState.qml +++ b/Services/ShellState.qml @@ -34,7 +34,6 @@ Singleton { model: Quickshell.screens - ScreenState { - } + ScreenState {} } }