From b1f4a2975f7b073927cda4e44af2ee74f9aba0f2 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 8 Jul 2017 10:05:21 -0700 Subject: QML UI: better icon for download from dive computer Thanks to Davide for paying for professional icon design. Signed-off-by: Dirk Hohndel --- icons/button-download-dc_icon.svg | 17 +++++++++++++++++ mobile-widgets/qml/DiveList.qml | 2 +- mobile-widgets/qml/mobile-resources.qrc | 2 +- scripts/mobilecomponents.sh | 1 - 4 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 icons/button-download-dc_icon.svg diff --git a/icons/button-download-dc_icon.svg b/icons/button-download-dc_icon.svg new file mode 100644 index 000000000..497fe06a2 --- /dev/null +++ b/icons/button-download-dc_icon.svg @@ -0,0 +1,17 @@ + + + + + + diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 75c9587dc..138eaf7c4 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -328,7 +328,7 @@ Kirigami.ScrollablePage { } property QtObject downloadFromDCAction: Kirigami.Action { - iconName: "document-import" + iconName: "downloadDC" onTriggered: { downloadFromDc.dcImportModel.clearTable() stackView.push(downloadFromDc) diff --git a/mobile-widgets/qml/mobile-resources.qrc b/mobile-widgets/qml/mobile-resources.qrc index 838464683..6fd506219 100644 --- a/mobile-widgets/qml/mobile-resources.qrc +++ b/mobile-widgets/qml/mobile-resources.qrc @@ -31,7 +31,6 @@ kirigami/icons/handle-left.svg kirigami/icons/distribute-horizontal-x.svg kirigami/icons/document-edit.svg - kirigami/icons/document-import.svg kirigami/icons/document-save.svg kirigami/icons/view-readermode.svg kirigami/icons/dialog-cancel.svg @@ -39,5 +38,6 @@ kirigami/icons/gps.svg kirigami/icons/trash-empty.svg kirigami/icons/list-add.svg + ../../icons/button-download-dc_icon.svg diff --git a/scripts/mobilecomponents.sh b/scripts/mobilecomponents.sh index 4bc5293f1..267b44515 100755 --- a/scripts/mobilecomponents.sh +++ b/scripts/mobilecomponents.sh @@ -57,7 +57,6 @@ cp -R $PMMC/* $MC/ cp $BREEZE/icons/actions/24/dialog-cancel.svg $MC/icons cp $BREEZE/icons/actions/24/distribute-horizontal-x.svg $MC/icons cp $BREEZE/icons/actions/24/document-edit.svg $MC/icons -cp $BREEZE/icons/actions/24/document-import.svg $MC/icons cp $BREEZE/icons/actions/24/document-save.svg $MC/icons cp $BREEZE/icons/actions/24/go-next.svg $MC/icons cp $BREEZE/icons/actions/24/go-previous.svg $MC/icons -- cgit v1.2.3-70-g09d2