From 6d05a205561018aa37b1ab62d543fe12a8dd7195 Mon Sep 17 00:00:00 2001 From: Leopold Luley Date: Tue, 30 Sep 2025 23:03:09 +0200 Subject: [PATCH] Dock: Reformat code. --- Modules/Dock/Dock.qml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Modules/Dock/Dock.qml b/Modules/Dock/Dock.qml index 8260037f..5652deae 100644 --- a/Modules/Dock/Dock.qml +++ b/Modules/Dock/Dock.qml @@ -111,10 +111,7 @@ Variants { // Strategy: Maintain app positions as much as possible // 1. First pass: Add all running apps (both pinned and non-pinned) in their current order runningApps.forEach(toplevel => { - if ( - toplevel && toplevel.appId - && !(Settings.data.dock.onlySameOutput && toplevel.screens && !toplevel.screens.includes(modelData)) - ) { + if (toplevel && toplevel.appId && !(Settings.data.dock.onlySameOutput && toplevel.screens && !toplevel.screens.includes(modelData))) { const isPinned = pinnedApps.includes(toplevel.appId) const appType = isPinned ? "pinned-running" : "running"