From 4ffadf1c416d5317ca19d8dc7fed12180d18c7c2 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Wed, 22 Sep 2021 14:36:23 -0600 Subject: [PATCH] Port away from Kirigami.Units.devicePixelRatio Use PlasmaCore.Units.devicePixelRatio, which still does something; the Kirigami version was inappropriately used here and is deprecated anyway. --- .../containmentlayoutmanager/qml/private/BasicResizeHandle.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/containmentlayoutmanager/qml/private/BasicResizeHandle.qml b/components/containmentlayoutmanager/qml/private/BasicResizeHandle.qml index bc8ffb942..23a9cc485 100644 --- a/components/containmentlayoutmanager/qml/private/BasicResizeHandle.qml +++ b/components/containmentlayoutmanager/qml/private/BasicResizeHandle.qml @@ -24,7 +24,7 @@ ContainmentLayoutManager.ResizeHandle { shadow.size: PlasmaCore.Units.smallSpacing shadow.color: Qt.rgba(0.0, 0.0, 0.0, 0.2) - shadow.yOffset: 2 + shadow.yOffset: PlasmaCore.Units.devicePixelRatio * 2 border.width: PlasmaCore.Units.devicePixelRatio border.color: Qt.tint(Kirigami.Theme.textColor,