DaemonManager: forward command line arguments to monerod

This commit is contained in:
Jacob Brydolf
2016-11-07 18:08:09 +01:00
committed by Jaquee
parent 752ff2616f
commit b4eb489b00
2 changed files with 17 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ class DaemonManager : public QObject
public:
static DaemonManager * instance();
static DaemonManager * instance(QStringList args);
Q_INVOKABLE bool start();
Q_INVOKABLE bool stop();
@@ -32,6 +32,7 @@ private:
explicit DaemonManager(QObject *parent = 0);
static DaemonManager * m_instance;
static QStringList clArgs;
QProcess *m_daemon;
bool initialized = false;