Skip to content

Commit

Permalink
qml: rename to CaretRightIcon
Browse files Browse the repository at this point in the history
  • Loading branch information
promag committed Aug 31, 2023
1 parent 0fa582d commit 74d4a97
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/Makefile.qt.include
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ QML_RES_QML = \
qml/components/BlockClock.qml \
qml/components/BlockClockDisplayMode.qml \
qml/components/BlockCounter.qml \
qml/components/CaretRightButton.qml \
qml/controls/CaretRightIcon.qml \
qml/components/ConnectionOptions.qml \
qml/components/ConnectionSettings.qml \
qml/components/DeveloperOptions.qml \
Expand Down
2 changes: 1 addition & 1 deletion src/qml/bitcoin_qml.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<file>components/BlockClock.qml</file>
<file>components/BlockClockDisplayMode.qml</file>
<file>components/BlockCounter.qml</file>
<file>components/CaretRightButton.qml</file>
<file>controls/CaretRightIcon.qml</file>
<file>components/ConnectionOptions.qml</file>
<file>components/ConnectionSettings.qml</file>
<file>components/PeersIndicator.qml</file>
Expand Down
2 changes: 1 addition & 1 deletion src/qml/components/AboutOptions.qml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ ColumnLayout {
Layout.fillWidth: true
header: qsTr("Developer options")
description: qsTr("Only use these if you have development experience")
actionItem: CaretRightButton {
actionItem: CaretRightIcon {
color: gotoDeveloper.stateColor
}
onClicked: {
Expand Down
2 changes: 1 addition & 1 deletion src/qml/components/ConnectionSettings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ ColumnLayout {
id: gotoProxy
Layout.fillWidth: true
header: qsTr("Proxy settings")
actionItem: CaretRightButton {
actionItem: CaretRightIcon {
color: gotoProxy.stateColor
}
onClicked: connectionSwipe.incrementCurrentIndex()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import QtQuick 2.15
import QtQuick.Controls 2.15
import "../controls"

Icon {
source: "image://images/caret-right"
Expand Down
12 changes: 6 additions & 6 deletions src/qml/pages/node/NodeSettings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Item {
id: gotoAbout
Layout.fillWidth: true
header: qsTr("About")
actionItem: CaretRightButton {
actionItem: CaretRightIcon {
color: gotoAbout.stateColor
}
onClicked: {
Expand All @@ -53,7 +53,7 @@ Item {
id: gotoDisplay
Layout.fillWidth: true
header: qsTr("Display")
actionItem: CaretRightButton {
actionItem: CaretRightIcon {
color: gotoDisplay.stateColor
}
onClicked: {
Expand All @@ -65,7 +65,7 @@ Item {
id: gotoStorage
Layout.fillWidth: true
header: qsTr("Storage")
actionItem: CaretRightButton {
actionItem: CaretRightIcon {
color: gotoStorage.stateColor
}
onClicked: {
Expand All @@ -77,7 +77,7 @@ Item {
id: gotoConnection
Layout.fillWidth: true
header: qsTr("Connection")
actionItem: CaretRightButton {
actionItem: CaretRightIcon {
color: gotoConnection.stateColor
}
onClicked: {
Expand All @@ -89,7 +89,7 @@ Item {
id: gotoPeers
Layout.fillWidth: true
header: qsTr("Peers")
actionItem: CaretRightButton {
actionItem: CaretRightIcon {
color: gotoPeers.stateColor
}
onClicked: {
Expand All @@ -102,7 +102,7 @@ Item {
id: gotoNetworkTraffic
Layout.fillWidth: true
header: qsTr("Network Traffic")
actionItem: CaretRightButton {
actionItem: CaretRightIcon {
color: gotoNetworkTraffic.stateColor
}
onClicked: {
Expand Down
4 changes: 2 additions & 2 deletions src/qml/pages/settings/SettingsDisplay.qml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Item {
id: gotoTheme
Layout.fillWidth: true
header: qsTr("Theme")
actionItem: CaretRightButton {
actionItem: CaretRightIcon {
color: gotoTheme.stateColor
}
onClicked: {
Expand All @@ -52,7 +52,7 @@ Item {
id: gotoBlockClockSize
Layout.fillWidth: true
header: qsTr("Block clock display mode")
actionItem: CaretRightButton {
actionItem: CaretRightIcon {
color: gotoBlockClockSize.stateColor
}
onClicked: {
Expand Down

0 comments on commit 74d4a97

Please sign in to comment.