fix multiple minor issues (c-style casts, default branch, etc.)

This commit is contained in:
xiphon
2020-02-28 10:25:57 +00:00
parent b4a65c52cc
commit 9deca92e07
8 changed files with 16 additions and 13 deletions

View File

@@ -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);