Skip to content

Instantly share code, notes, and snippets.

@baudm
Last active April 2, 2020 05:54
Show Gist options
  • Save baudm/6e70a0196a4cc7126fb2de5682fc0ba0 to your computer and use it in GitHub Desktop.
Save baudm/6e70a0196a4cc7126fb2de5682fc0ba0 to your computer and use it in GitHub Desktop.
latte-dock v0.9.10 compatibility patch for Plasma < 5.13
Index: latte-dock-0.9.10/shell/package/contents/configuration/LatteDockConfiguration.qml
===================================================================
--- latte-dock-0.9.10.orig/shell/package/contents/configuration/LatteDockConfiguration.qml
+++ latte-dock-0.9.10/shell/package/contents/configuration/LatteDockConfiguration.qml
@@ -43,8 +43,6 @@ import "../controls" as LatteExtraContro
FocusScope {
id: dialog
- property alias backgroundMask: backgroundFrameSvgItem.mask
-
readonly property bool basicLevel: viewConfig.complexity === Latte.Types.BasicSettings
readonly property bool advancedLevel: viewConfig.complexity === Latte.Types.AdvancedSettings
readonly property bool expertLevel: viewConfig.complexity === Latte.Types.ExpertSettings
Index: latte-dock-0.9.10/shell/package/contents/configuration/LatteDockSecondaryConfiguration.qml
===================================================================
--- latte-dock-0.9.10.orig/shell/package/contents/configuration/LatteDockSecondaryConfiguration.qml
+++ latte-dock-0.9.10/shell/package/contents/configuration/LatteDockSecondaryConfiguration.qml
@@ -40,8 +40,6 @@ import "../controls" as LatteExtraContro
FocusScope {
id: dialog
- property alias backgroundMask: backgroundFrameSvgItem.mask
-
width: typeSettings.width + units.smallSpacing * 4
height: typeSettings.height + units.smallSpacing * 4
Layout.minimumWidth: width
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment