- 
ammml
hi
 
- 
ammml
    Q_INVOKABLE bool start(const QString &flags, NetworkType::Type nettype, const QString &dataDir = "", const QString &bootstrapNodeAddress = "", const QString ¤tWallet.address = "", bool noSync = false, bool pruneBlockchain = false);
 
- 
ammml
i add it in wrong way
 
- 
ammml
DaemonManager.h:50:176: error: expected ')'
 
- 
ammml
anyone knows how to add on c this qml "currentWallet.address"
 
- 
ammml
file that must be added is this src/daemon/DaemonManager.cpp
 
- 
ammml
becasuse of lack of experience with qml i dont know how to add it
 
- 
ammml
Thank you.
 
- 
ammml
Is a syntax problem
 
- 
ammml
is anyone here
 
- 
moneromoooo
Your question is just too vaguely defined.
 
- 
ammml
daemon to start mining without clicking anywhere immediately after wallet is open
 
- 
ammml
arguments << "--start-mining" << currentWallet.address;
 
- 
ammml
how to add this line
 
- 
ammml
on this file DaemonManager.cpp
 
- 
moneromoooo
git grep "non-interactive"
 
- 
moneromoooo
I'm fairly sure the GUI runs monerod with that.
 
- 
moneromoooo
Then add options in the same way as that one is.
 
- 
moneromoooo
ie, "--start-mining" and your address. They'll be 2 separate arguments most likely.
 
- 
ammml
arguments << "--non-interactive";
 
- 
ammml
but i dont know the address
 
- 
ammml
address cant be hardcoded
 
- 
moneromoooo
Ah. currentWallet.address looks plausible. What's the error you're getting with this ?
 
- 
ammml
 
- 
ammml
i added like this too "const QString ¤tWallet.address  = "","
 
- 
moneromoooo
Odd. That looks like a header file, but your changes would not have been in a header file.
 
- 
ammml
but same error
 
- 
moneromoooo
Ah.
 
- 
moneromoooo
Yes, that looks all wtf :D
 
- 
moneromoooo
Is currentWallet already used in the area where aruments are being constructed ? IT might not be accessible from there.
 
- 
ammml
 
- 
moneromoooo
"in the area where aruments are being constructed"
 
- 
moneromoooo
That's the important part, which tells you how to get to it.
 
- 
ammml
i lack qml syntax
 
- 
ammml
whereis the area
 
- 
plowsof
i would start searching "how to pass qml paramaters from to c++" (i have no idea, but it seems some steps are involved)
 
- 
moneromoooo
The place where you found this: arguments << "--non-interactive";
 
- 
moneromoooo
it, you might need to use use appWindow.currentWallet, or something else.
 
- 
moneromoooo
The last paste you posted shows appWindow being a probably global holding that var.
 
- 
moneromoooo
(and lose that weird line you added to the header)
 
- 
ammml
ok
 
- 
ammml
thank you
 
- 
moneromoooo
And double check whether spaces are needed. If arguments is a vector, none are nedeed. If it's a string, some might. If existing code around that line also adds spaces, do the same. If not, not.
 
- 
plowsof
something like QObject *qmlFinder = rootObject->findChild<QObject*>("QrFinder"); ?
 
- 
malinero
selsta: malinero: did you ever try getting a local node working on androdi? <-- Only with a terminal, not though the GUI
 
- 
malinero
Hello, Is it possible for light wallets to compute the fees of the wallet's previous transactions ?