mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
don't use cmdline arguments as daemon arguments
This commit is contained in:
parent
92582a9785
commit
c9daab71bf
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -224,7 +224,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
// Exclude daemon manager from IOS
|
||||
#ifndef Q_OS_IOS
|
||||
const QStringList arguments = QCoreApplication::arguments();
|
||||
const QStringList arguments = (QStringList) QCoreApplication::arguments().at(0);
|
||||
DaemonManager * daemonManager = DaemonManager::instance(&arguments);
|
||||
engine.rootContext()->setContextProperty("daemonManager", daemonManager);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue