aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-03-10 18:56:04 -0400
committerluigi1111 <luigi1111w@gmail.com>2020-03-10 18:56:04 -0400
commitc84a8fb07d93cc63e2c3de2061ec88fd992ed176 (patch)
tree0fc974e1b0e77cab23e2e968897d1d8b75339afd /src/main
parent63b456647596bcdf49b2919c0edb546b6bf47fa4 (diff)
parent55b548f31cc87d36193a578b00d5a55e35e421f1 (diff)
downloadmonzero-gui-c84a8fb07d93cc63e2c3de2061ec88fd992ed176.tar.gz
monzero-gui-c84a8fb07d93cc63e2c3de2061ec88fd992ed176.tar.xz
monzero-gui-c84a8fb07d93cc63e2c3de2061ec88fd992ed176.zip
Merge pull request #2799
55b548f qt: drop Qt Network and Qt OpenSSL deps, use epee library instead (xiphon)
Diffstat (limited to 'src/main')
-rw-r--r--src/main/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/main.cpp b/src/main/main.cpp
index 7a454140..c5210e5f 100644
--- a/src/main/main.cpp
+++ b/src/main/main.cpp
@@ -30,7 +30,6 @@
#include <QQmlApplicationEngine>
#include <QtQml>
#include <QStandardPaths>
-#include <QNetworkAccessManager>
#include <QIcon>
#include <QDebug>
#include <QDesktopServices>
@@ -437,8 +436,7 @@ int main(int argc, char *argv[])
#endif
engine.rootContext()->setContextProperty("builtWithScanner", builtWithScanner);
- QNetworkAccessManager *manager = new QNetworkAccessManager();
- Prices prices(manager);
+ Prices prices;
engine.rootContext()->setContextProperty("Prices", &prices);
// Load main window (context properties needs to be defined obove this line)