mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 19:32:03 +02:00
don't use cmdline arguments as daemon arguments
This commit is contained in:
parent
92582a9785
commit
c9daab71bf
2
main.cpp
2
main.cpp
@ -224,7 +224,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
// Exclude daemon manager from IOS
|
// Exclude daemon manager from IOS
|
||||||
#ifndef Q_OS_IOS
|
#ifndef Q_OS_IOS
|
||||||
const QStringList arguments = QCoreApplication::arguments();
|
const QStringList arguments = (QStringList) QCoreApplication::arguments().at(0);
|
||||||
DaemonManager * daemonManager = DaemonManager::instance(&arguments);
|
DaemonManager * daemonManager = DaemonManager::instance(&arguments);
|
||||||
engine.rootContext()->setContextProperty("daemonManager", daemonManager);
|
engine.rootContext()->setContextProperty("daemonManager", daemonManager);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user