diff options
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/main.cpp | 4 |
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); |
