diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-10-04 17:06:18 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-10-04 17:13:46 -0700 |
commit | 2dd8a2ad7bb5fbdd263fecd76c0108ad0c44eef0 (patch) | |
tree | e56f7f953e920f3a8f46f701ecad32f1fa8d10f9 /mobile-widgets | |
parent | f7f31c55cb3b126d530fd18b0de2b34be9edfca0 (diff) | |
download | subsurface-2dd8a2ad7bb5fbdd263fecd76c0108ad0c44eef0.tar.gz |
QML UI: download icon in main menu
We need a white path drawn on the dark action button, but a black path
drawn for the main menu.
(looks like a white space change snuck in here)
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/main.qml | 9 | ||||
-rw-r--r-- | mobile-widgets/qml/mobile-resources.qrc | 1 |
2 files changed, 6 insertions, 4 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 02c81f376..5c5b6df36 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -141,7 +141,8 @@ Kirigami.ApplicationWindow { } } Kirigami.Action { - iconName: "icons/downloadDC.svg" + // this of course assumes a white background - theming means this needs to change again + iconName: "icons/downloadDC-black.svg" text: qsTr("Download from DC") enabled: true onTriggered: { @@ -247,9 +248,9 @@ if you have network connectivity and want to sync your data to cloud storage."), Kirigami.Action { iconName: "icons/ic_settings.svg" text: qsTr("Settings") - onTriggered: { - stackView.push(settingsWindow) - detailsWindow.endEditMode() + onTriggered: { + stackView.push(settingsWindow) + detailsWindow.endEditMode() } }, Kirigami.Action { diff --git a/mobile-widgets/qml/mobile-resources.qrc b/mobile-widgets/qml/mobile-resources.qrc index 9f8107f2c..d989a5ac1 100644 --- a/mobile-widgets/qml/mobile-resources.qrc +++ b/mobile-widgets/qml/mobile-resources.qrc @@ -43,6 +43,7 @@ <file alias="icons/trash-empty.svg">kirigami/icons/trash-empty.svg</file> <file alias="icons/list-add.svg">kirigami/icons/list-add.svg</file> <file alias="icons/downloadDC.svg">../../icons/button-download-dc_icon.svg</file> + <file alias="icons/downloadDC-black.svg">../../icons/button-download-dc-black_icon.svg</file> <file alias="icons/ic_home.svg">icons/ic_home_24px.svg</file> <file alias="icons/ic_info_outline.svg">icons/ic_info_outline_24px.svg</file> <file alias="icons/ic_help_outline.svg">icons/ic_help_outline_24px.svg</file> |