@@ -18,7 +18,7 @@ ColumnLayout {
18
18
description: " bitcoincore.org"
19
19
link: " https://bitcoincore.org"
20
20
}
21
- onClicked: loadedItem .clicked ( )
21
+ onClicked: openPopup ( loadedItem .link )
22
22
}
23
23
Separator { Layout .fillWidth : true }
24
24
Setting {
@@ -30,7 +30,7 @@ ColumnLayout {
30
30
description: " github.com/bitcoin/bitcoin"
31
31
link: " https://github.com/bitcoin/bitcoin"
32
32
}
33
- onClicked: loadedItem .clicked ( )
33
+ onClicked: openPopup ( loadedItem .link )
34
34
}
35
35
Separator { Layout .fillWidth : true }
36
36
Setting {
@@ -42,7 +42,7 @@ ColumnLayout {
42
42
description: " MIT"
43
43
link: " https://opensource.org/licenses/MIT"
44
44
}
45
- onClicked: loadedItem .clicked ( )
45
+ onClicked: openPopup ( loadedItem .link )
46
46
}
47
47
Separator { Layout .fillWidth : true }
48
48
Setting {
@@ -57,7 +57,7 @@ ColumnLayout {
57
57
iconWidth: 18
58
58
iconHeight: 18
59
59
}
60
- onClicked: loadedItem .clicked ( )
60
+ onClicked: openPopup ( loadedItem .link )
61
61
}
62
62
Separator { Layout .fillWidth : true }
63
63
Setting {
@@ -72,4 +72,14 @@ ColumnLayout {
72
72
aboutSwipe .incrementCurrentIndex ()
73
73
}
74
74
}
75
+ ExternalPopup {
76
+ id: confirmPopup
77
+ anchors .centerIn : Overlay .overlay
78
+ width: parent .width
79
+ }
80
+
81
+ function openPopup (link ) {
82
+ confirmPopup .link = link
83
+ confirmPopup .open ()
84
+ }
75
85
}
0 commit comments