aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/3rdparty/0002-global-drawer-disable-built-in-back-button.patch
blob: 6de6fcf941c478160ab3372dff2e6f5d3441cea2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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