aboutsummaryrefslogtreecommitdiff
path: root/src/main/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/main.cpp')
-rw-r--r--src/main/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/main.cpp b/src/main/main.cpp
index 1024feb2..b4e1fe42 100644
--- a/src/main/main.cpp
+++ b/src/main/main.cpp
@@ -451,8 +451,8 @@ Verify update binary using 'shasum'-compatible (SHA256 algo) output signed by tw
// Exclude daemon manager from IOS
#ifndef Q_OS_IOS
- DaemonManager * daemonManager = DaemonManager::instance();
- engine.rootContext()->setContextProperty("daemonManager", daemonManager);
+ DaemonManager daemonManager;
+ engine.rootContext()->setContextProperty("daemonManager", &daemonManager);
#endif
engine.rootContext()->setContextProperty("isWindows", isWindows);