aboutsummaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-07-29 17:43:02 +0000
committerxiphon <xiphon@protonmail.com>2020-07-30 16:49:22 +0000
commit43aeea8eb7965e41f18ae14f3cd3db5e41e77ed7 (patch)
tree96849be20f3de69fc490433f1afa14165f115510 /main.qml
parent7eeda0a8f075a0d0938486cf0d7718d9d9491c20 (diff)
downloadmonzero-gui-43aeea8eb7965e41f18ae14f3cd3db5e41e77ed7.tar.gz
monzero-gui-43aeea8eb7965e41f18ae14f3cd3db5e41e77ed7.tar.xz
monzero-gui-43aeea8eb7965e41f18ae14f3cd3db5e41e77ed7.zip
Network: instantiable QML type, introduce proxyAddress property
# Conflicts: # main.qml
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml7
1 files changed, 6 insertions, 1 deletions
diff --git a/main.qml b/main.qml
index ae6d96de..c1d88d49 100644
--- a/main.qml
+++ b/main.qml
@@ -33,6 +33,7 @@ import QtQuick.Controls.Styles 1.1
import QtQuick.Dialogs 1.2
import QtGraphicalEffects 1.0
+import moneroComponents.Network 1.0
import moneroComponents.Wallet 1.0
import moneroComponents.WalletManager 1.0
import moneroComponents.PendingTransaction 1.0
@@ -1255,7 +1256,7 @@ ApplicationWindow {
}
var url = provider[userCurrency];
- Network.getJSON(url, fiatApiJsonReceived);
+ network.getJSON(url, fiatApiJsonReceived);
}
function fiatApiCurrencySymbol() {
@@ -2237,6 +2238,10 @@ ApplicationWindow {
dragMargin: 0
}
+ Network {
+ id: network
+ }
+
WalletManager {
id: walletManager
}