mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-03 10:47:25 -04:00
DaemonManager: refactoring - drop singleton usage
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user