diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2021-01-22 15:07:39 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2021-01-22 15:07:39 -0500 |
| commit | 04e3ac92004a3a9f3400c45589702fdbf5f6e7ac (patch) | |
| tree | ec71a68c2f051bd448d185ab5519873e2b07b7c8 /src/main | |
| parent | f9f319d5719fcb794767c59850ed5ef685c044d6 (diff) | |
| parent | d3102b1cc5ab6d4e66e57ea9c53e32210b5f1083 (diff) | |
| download | monzero-gui-04e3ac92004a3a9f3400c45589702fdbf5f6e7ac.tar.gz monzero-gui-04e3ac92004a3a9f3400c45589702fdbf5f6e7ac.tar.xz monzero-gui-04e3ac92004a3a9f3400c45589702fdbf5f6e7ac.zip | |
Merge pull request #3305
d3102b1 DaemonManager: refactoring - drop singleton usage (xiphon)
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); |
