From 55b548f31cc87d36193a578b00d5a55e35e421f1 Mon Sep 17 00:00:00 2001 From: xiphon Date: Sun, 8 Mar 2020 15:30:34 +0000 Subject: qt: drop Qt Network and Qt OpenSSL deps, use epee library instead --- src/main/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/main/main.cpp') 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 #include #include -#include #include #include #include @@ -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) -- cgit v1.2.3