summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-08 23:16:19 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-08 23:16:19 -0800
commitf61b83301ae6ba40dadb0dc3b18ff6a6ce923ddf (patch)
treeeda5ad30de235a5e692de35f73014719fa77466f
parent249a2c2c0907fd0444b5c926ff8c965c6fb3776a (diff)
downloadsubsurface-f61b83301ae6ba40dadb0dc3b18ff6a6ce923ddf.tar.gz
QML UI: better icon for delete
The cancel picture was odd - the trash can is much more typical. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-mobile/qml/GpsList.qml2
-rw-r--r--qt-mobile/qml/mobile-resources.qrc1
-rwxr-xr-xscripts/mobilecomponents.sh1
3 files changed, 3 insertions, 1 deletions
diff --git a/qt-mobile/qml/GpsList.qml b/qt-mobile/qml/GpsList.qml
index 24b389b23..0dfa54c91 100644
--- a/qt-mobile/qml/GpsList.qml
+++ b/qt-mobile/qml/GpsList.qml
@@ -88,7 +88,7 @@ MobileComponents.Page {
}
actions: [
Action {
- iconName: "dialog-cancel"
+ iconName: "trash-empty"
onTriggered: {
print("delete this!")
}
diff --git a/qt-mobile/qml/mobile-resources.qrc b/qt-mobile/qml/mobile-resources.qrc
index d361ce420..452cf1391 100644
--- a/qt-mobile/qml/mobile-resources.qrc
+++ b/qt-mobile/qml/mobile-resources.qrc
@@ -48,5 +48,6 @@
<file alias="org/kde/plasma/mobilecomponents/icons/view-readermode.svg">mobilecomponents/icons/view-readermode.svg</file>
<file alias="org/kde/plasma/mobilecomponents/icons/dialog-cancel.svg">mobilecomponents/icons/dialog-cancel.svg</file>
<file alias="org/kde/plasma/mobilecomponents/icons/application-menu.svg">mobilecomponents/icons/application-menu.svg</file>
+ <file alias="org/kde/plasma/mobilecomponents/icons/trash-empty.svg">mobilecomponents/icons/trash-empty.svg</file>
</qresource>
</RCC>
diff --git a/scripts/mobilecomponents.sh b/scripts/mobilecomponents.sh
index e83e0e7e9..94ae0c2ce 100755
--- a/scripts/mobilecomponents.sh
+++ b/scripts/mobilecomponents.sh
@@ -52,5 +52,6 @@ cp $BREEZE/icons/actions/24/go-next.svg $MC/icons
cp $BREEZE/icons/actions/24/go-previous.svg $MC/icons
cp $BREEZE/icons/actions/16/view-readermode.svg $MC/icons
cp $BREEZE/icons/actions/24/application-menu.svg $MC/icons
+cp $BREEZE/icons/actions/24/trash-empty.svg $MC/icons
echo org.kde.plasma.mobilecomponents synced from upstream