From 6c5aad1bb3230481738f9742ca6817c8a46d2aa4 Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Fri, 7 Nov 2025 21:05:59 +0100 Subject: [PATCH] OSD: fix warning WallpaperPanel: fix warning --- Modules/OSD/OSD.qml | 2 -- Modules/Panels/Wallpaper/WallpaperPanel.qml | 1 - 2 files changed, 3 deletions(-) diff --git a/Modules/OSD/OSD.qml b/Modules/OSD/OSD.qml index 0cc39773..835965e6 100644 --- a/Modules/OSD/OSD.qml +++ b/Modules/OSD/OSD.qml @@ -345,8 +345,6 @@ Variants { horizontalAlignment: Text.AlignRight verticalAlignment: Text.AlignVCenter Layout.preferredWidth: Math.round(50 * Style.uiScaleRatio) - anchors.verticalCenter: parent.verticalCenter - anchors.verticalCenterOffset: 0 } } } diff --git a/Modules/Panels/Wallpaper/WallpaperPanel.qml b/Modules/Panels/Wallpaper/WallpaperPanel.qml index 9da8f70a..40de7685 100644 --- a/Modules/Panels/Wallpaper/WallpaperPanel.qml +++ b/Modules/Panels/Wallpaper/WallpaperPanel.qml @@ -430,7 +430,6 @@ SmartPanel { x: wallpaperGridView.mirrored ? 0 : wallpaperGridView.width - width y: 0 height: wallpaperGridView.height - active: wallpaperGridView.ScrollBar.horizontal.active property color handleColor: Qt.alpha(Color.mHover, 0.8) property color handleHoverColor: handleColor