aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mobilecomponents.sh
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-08 14:24:47 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-13 11:32:27 -0700
commite91a8ff7f95c117623a4657b82811590bf48e0b1 (patch)
treef7349da22a2592498143cf477b000683d8d88ee1 /scripts/mobilecomponents.sh
parent26a7cf1698c61e53be59ee91f5b3e3c814556571 (diff)
downloadsubsurface-e91a8ff7f95c117623a4657b82811590bf48e0b1.tar.gz
Mobile: hack around missing icons in the toolbar
This looks extremely fishy to me, but it does seem sufficient to get the forward and backward buttons to show up in the toolbar. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts/mobilecomponents.sh')
-rwxr-xr-xscripts/mobilecomponents.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/mobilecomponents.sh b/scripts/mobilecomponents.sh
index 9b527fc6b..328d76ea2 100755
--- a/scripts/mobilecomponents.sh
+++ b/scripts/mobilecomponents.sh
@@ -59,7 +59,7 @@ ln -s $SRC/breeze-icons .
# https://bugs.kde.org/show_bug.cgi?id=394204
sed -i -e "s/width: backgroundRect/enabled: root.enabled; width: backgroundRect/g" src/controls/templates/private/PassiveNotification.qml
-# three more hacks - as a diff file for simplicity
+# four more hacks - as a diff file for simplicity
# (1) Do not include the Kirigami resources (on static build). It causes
# double defined symbols in our setting. I would like a nicer fix for this
# issue, but failed to find one. For example, not adding the resource in
@@ -78,6 +78,10 @@ sed -i -e "s/width: backgroundRect/enabled: root.enabled; width: backgroundRe
# the theme, but somehow that always gets overwritten with the default
# value for 'active' set in qtquickcontrols2.conf
+# (4) add a source line mirroring the name line for the forward and
+# backward icons in the global tool bar. Otherwise those icons aren't
+# found
+
patch -p0 < $SRC/subsurface/scripts/kirigami.diff
popd