mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 10:17:26 -04:00
forward command line arguments to DaemonManager
This commit is contained in:
4
main.cpp
4
main.cpp
@@ -51,8 +51,6 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
|
|
||||||
qDebug() << "app startd";
|
|
||||||
|
|
||||||
app.setApplicationName("monero-core");
|
app.setApplicationName("monero-core");
|
||||||
app.setOrganizationDomain("getmonero.org");
|
app.setOrganizationDomain("getmonero.org");
|
||||||
app.setOrganizationName("The Monero Project");
|
app.setOrganizationName("The Monero Project");
|
||||||
@@ -108,7 +106,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
engine.addImageProvider(QLatin1String("qrcode"), new QRCodeImageProvider());
|
engine.addImageProvider(QLatin1String("qrcode"), new QRCodeImageProvider());
|
||||||
|
|
||||||
engine.rootContext()->setContextProperty("daemonManager", DaemonManager::instance());
|
engine.rootContext()->setContextProperty("daemonManager", DaemonManager::instance(QCoreApplication::arguments()));
|
||||||
|
|
||||||
// export to QML monero accounts root directory
|
// export to QML monero accounts root directory
|
||||||
// wizard is talking about where
|
// wizard is talking about where
|
||||||
|
|||||||
Reference in New Issue
Block a user