diff options
| author | Jacob Brydolf <jacob@brydolf.net> | 2016-11-10 12:23:43 +0100 |
|---|---|---|
| committer | Jacob Brydolf <jacob@brydolf.net> | 2016-11-10 12:23:43 +0100 |
| commit | 4e61ebeedb466710c59c382aa348f54a08cb8bf5 (patch) | |
| tree | f40437810fdb9e422dc41fb70cb5164110495daa /src/libwalletqt | |
| parent | 7c9d2231cc08f644f4a4150f6cbde7c15f24c102 (diff) | |
| download | monzero-gui-4e61ebeedb466710c59c382aa348f54a08cb8bf5.tar.gz monzero-gui-4e61ebeedb466710c59c382aa348f54a08cb8bf5.tar.xz monzero-gui-4e61ebeedb466710c59c382aa348f54a08cb8bf5.zip | |
add default argument to store()
Diffstat (limited to 'src/libwalletqt')
| -rw-r--r-- | src/libwalletqt/Wallet.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libwalletqt/Wallet.h b/src/libwalletqt/Wallet.h index 458dea90..26e66f6e 100644 --- a/src/libwalletqt/Wallet.h +++ b/src/libwalletqt/Wallet.h @@ -79,7 +79,8 @@ public: QString address() const; //! saves wallet to the file by given path - Q_INVOKABLE bool store(const QString &path); + //! empty path stores in current location + Q_INVOKABLE bool store(const QString &path = ""); //! initializes wallet Q_INVOKABLE bool init(const QString &daemonAddress, quint64 upperTransactionLimit, bool isRecovering = false, quint64 restoreHeight = 0); |
