aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/DaemonManager.h
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-02-28 10:25:57 +0000
committerxiphon <xiphon@protonmail.com>2020-02-28 10:25:57 +0000
commit9deca92e0776a97e6364b6e6f36cc8a8718ea2cb (patch)
treea3edac30269f96de6fbd1e0360cde09c013cfdeb /src/daemon/DaemonManager.h
parentb4a65c52cc51fede20b80be0bf9f0e816c9ef752 (diff)
downloadmonzero-gui-9deca92e0776a97e6364b6e6f36cc8a8718ea2cb.tar.gz
monzero-gui-9deca92e0776a97e6364b6e6f36cc8a8718ea2cb.tar.xz
monzero-gui-9deca92e0776a97e6364b6e6f36cc8a8718ea2cb.zip
fix multiple minor issues (c-style casts, default branch, etc.)
Diffstat (limited to 'src/daemon/DaemonManager.h')
-rw-r--r--src/daemon/DaemonManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/DaemonManager.h b/src/daemon/DaemonManager.h
index 774aecb3..e670373c 100644
--- a/src/daemon/DaemonManager.h
+++ b/src/daemon/DaemonManager.h
@@ -42,7 +42,7 @@ class DaemonManager : public QObject
public:
- static DaemonManager * instance(const QStringList *args);
+ static DaemonManager * instance(const QStringList *args = nullptr);
Q_INVOKABLE bool start(const QString &flags, NetworkType::Type nettype, const QString &dataDir = "", const QString &bootstrapNodeAddress = "", bool noSync = false);
Q_INVOKABLE void stopAsync(NetworkType::Type nettype, const QJSValue& callback);