From f6f027aa10cef4dab9c168d8009ed19ec0ca5095 Mon Sep 17 00:00:00 2001 From: Ismael Asensio Date: Wed, 18 Aug 2021 23:07:30 +0200 Subject: [PATCH] kcm/kwindecoration: Fix window thumbnail sizes Caused by a stray `units` context property that no longer exists. --- src/kcmkwin/kwindecoration/package/contents/ui/Themes.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kcmkwin/kwindecoration/package/contents/ui/Themes.qml b/src/kcmkwin/kwindecoration/package/contents/ui/Themes.qml index d375c2d26a..b5a0b96d48 100644 --- a/src/kcmkwin/kwindecoration/package/contents/ui/Themes.qml +++ b/src/kcmkwin/kwindecoration/package/contents/ui/Themes.qml @@ -12,7 +12,7 @@ import org.kde.kwin.private.kdecoration 1.0 as KDecoration KCM.GridView { function updateDecoration(item, marginTopLeft, marginBottomRight) { - var mainMargin = units.largeSpacing + var mainMargin = Kirigami.Units.largeSpacing var shd = item.shadow item.anchors.leftMargin = mainMargin + marginTopLeft - (shd ? shd.paddingLeft : 0) item.anchors.rightMargin = mainMargin + marginBottomRight - (shd ? shd.paddingRight : 0)