diff options
| author | xiphon <xiphon@protonmail.com> | 2020-03-08 15:30:34 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2020-03-09 11:05:49 +0000 |
| commit | 55b548f31cc87d36193a578b00d5a55e35e421f1 (patch) | |
| tree | 889f2d4c32ece0840da60e9a015d70a8de6a4dd4 /src/main | |
| parent | cee56a7d239f44cc7e0b5ca6c397b9893200e5f8 (diff) | |
| download | monzero-gui-55b548f31cc87d36193a578b00d5a55e35e421f1.tar.gz monzero-gui-55b548f31cc87d36193a578b00d5a55e35e421f1.tar.xz monzero-gui-55b548f31cc87d36193a578b00d5a55e35e421f1.zip | |
qt: drop Qt Network and Qt OpenSSL deps, use epee library instead
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/main.cpp | 4 |
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) |
