aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-11-11 12:46:15 +0200
committerRiccardo Spagni <ric@spagni.net>2016-11-11 12:46:15 +0200
commit75608f1772ec999b9513de76773372192c667f16 (patch)
treea6080db182e34e9a5a6ffe0d5a0ee4439a4e97f7 /src
parent573049d871b6de895eca94a3f46884eaece07ae9 (diff)
parent4e61ebeedb466710c59c382aa348f54a08cb8bf5 (diff)
downloadmonzero-gui-75608f1772ec999b9513de76773372192c667f16.tar.gz
monzero-gui-75608f1772ec999b9513de76773372192c667f16.tar.xz
monzero-gui-75608f1772ec999b9513de76773372192c667f16.zip
Merge pull request #143
4e61ebe add default argument to store() (Jacob Brydolf) 7c9d223 remove unnecessary i/o (Jacob Brydolf)
Diffstat (limited to 'src')
-rw-r--r--src/libwalletqt/Wallet.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libwalletqt/Wallet.h b/src/libwalletqt/Wallet.h
index 74c4fea1..fc7363e8 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);