mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
kirigami: maintain our patches relative to upstream
Having them as commits like this should make it easier to migrate them as we update the underlying Kirigami version. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3c89964d79
commit
1720791786
13 changed files with 628 additions and 345 deletions
35
mobile-widgets/3rdparty/0002-global-drawer-disable-built-in-back-button.patch
vendored
Normal file
35
mobile-widgets/3rdparty/0002-global-drawer-disable-built-in-back-button.patch
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
From a110673e4a98dca385a0e500493e86dcdcd6ddf1 Mon Sep 17 00:00:00 2001
|
||||
From: Dirk Hohndel <dirk@hohndel.org>
|
||||
Date: Tue, 24 Nov 2020 20:52:28 -0800
|
||||
Subject: [PATCH 02/11] global drawer: disable built-in back button
|
||||
|
||||
It's really ugly, let's do our own.
|
||||
|
||||
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
||||
---
|
||||
src/controls/GlobalDrawer.qml | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/controls/GlobalDrawer.qml b/src/controls/GlobalDrawer.qml
|
||||
index da576177..e2a6d391 100644
|
||||
--- a/src/controls/GlobalDrawer.qml
|
||||
+++ b/src/controls/GlobalDrawer.qml
|
||||
@@ -464,6 +464,7 @@ OverlayDrawer {
|
||||
property int level: 0
|
||||
Layout.maximumHeight: Layout.minimumHeight
|
||||
|
||||
+/* the Kirigami back item is ugly - we prefer to do our own
|
||||
BasicListItem {
|
||||
id: backItem
|
||||
visible: level > 0
|
||||
@@ -482,6 +483,7 @@ OverlayDrawer {
|
||||
sequence: backItem.MnemonicData.sequence
|
||||
onActivated: backItem.clicked()
|
||||
}
|
||||
+*/
|
||||
|
||||
Repeater {
|
||||
id: actionsRepeater
|
||||
--
|
||||
2.25.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue