aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-09 20:07:17 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-10 15:16:52 -0800
commit8f8ee5c589391e6bfa79e697cc83d7bc72182383 (patch)
tree09eab62fde3303cb63a4e3968125d04359d9c398 /mobile-widgets
parent0de26e44a5c5f6d6f63bc7448f7065144c7d7112 (diff)
downloadsubsurface-8f8ee5c589391e6bfa79e697cc83d7bc72182383.tar.gz
mobile/statistics: add simple icon
This doesn't look great, but it's already part of the breeze-icons, so it's very easy to add - and it's better than no icon. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/3rdparty/icons.qrc1
-rw-r--r--mobile-widgets/qml/main.qml4
2 files changed, 5 insertions, 0 deletions
diff --git a/mobile-widgets/3rdparty/icons.qrc b/mobile-widgets/3rdparty/icons.qrc
index f9a52534c..476db005b 100644
--- a/mobile-widgets/3rdparty/icons.qrc
+++ b/mobile-widgets/3rdparty/icons.qrc
@@ -21,5 +21,6 @@
<file alias="icons/edit-copy.svg">breeze-icons/icons/actions/24/edit-copy.svg</file>
<file alias="icons/edit-paste.svg">breeze-icons/icons/actions/24/edit-paste.svg</file>
<file alias="icons/view-readermode.svg">breeze-icons/icons/actions/16/view-readermode.svg</file>
+ <file alias="icons/office-chart-bar-stacked.svg">breeze-icons/icons/actions/24/office-chart-bar-stacked.svg</file>
</qresource>
</RCC>
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index 1fa3da74f..915cecc26 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -456,6 +456,10 @@ if you have network connectivity and want to sync your data to cloud storage."),
}
},
Kirigami.Action {
+ icon {
+ name: ":/icons/office-chart-bar-stacked.svg"
+ }
+
text: qsTr("Statistics")
onTriggered: {
showPage(statistics)