Skip to content

Commit 67895f7

Browse files
committed
Merge #357: qml: drop unused last property from Setting
c0e45bc qml: drop unused last property from Setting (João Barbosa) Pull request description: Remove unused property `last` from `Setting` component. ACKs for top commit: jarolrod: ACK c0e45bc Tree-SHA512: 7c083d07f18776d3739280887e7043487e02cbf6b4637475688ef281ddead54d85358219a7100f492149243d651708bfdd63c407c88de0dd9415dc9237290686
2 parents aa35088 + c0e45bc commit 67895f7

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/qml/components/ConnectionSettings.qml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ ColumnLayout {
6464
Separator { Layout.fillWidth: true }
6565
Setting {
6666
id: gotoProxy
67-
last: true
6867
Layout.fillWidth: true
6968
header: qsTr("Proxy settings")
7069
actionItem: CaretRightButton {

src/qml/controls/Setting.qml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import org.bitcoincore.qt 1.0
1010

1111
AbstractButton {
1212
id: root
13-
property bool last: parent && root === parent.children[parent.children.length - 1]
1413
required property string header
1514
property alias actionItem: action_loader.sourceComponent
1615
property alias loadedItem: action_loader.item

0 commit comments

Comments
 (0)