diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-12 12:17:45 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-12 12:17:45 +0800 |
commit | 088159182a5a6d3533a7812b48323125fefc1e61 (patch) | |
tree | 968e5dd4ddabd16b90b830ec11fe2cc667a89862 /Link.qml | |
parent | e5429cf6eb8f83be50b4fb7d764375f7c3713265 (diff) |
Init shop client right away
to avoid it getting re-initialised if we ever need to request
catalog again.
Diffstat (limited to 'Link.qml')
-rw-r--r-- | Link.qml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,7 +13,7 @@ Rectangle { } Text { objectName: "link" - signal catalog(string brand) + signal activated(string arg) function push(view, arg) { stack.push(view + ".qml", { "arg": arg @@ -24,7 +24,7 @@ Rectangle { Layout.alignment: Qt.AlignCenter text: "<a href=\"https://darapsa.com/" + arg + "\">https://darapsa.com/" + arg + "</a>" linkColor: "#ffffff" - onLinkActivated: catalog(arg) + onLinkActivated: activated(arg) } } } |