diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-02 13:45:59 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-02 13:45:59 +0200 |
commit | ebff5c40a234f38429965c391da020bbf8312b1b (patch) | |
tree | c37239c253c74dc4c2f73838e2d6ae9edad31ed7 /src/qt/addresstablemodel.h | |
parent | 05da981f05d7b2e1551345a042d3379e9244f09b (diff) |
Send: dialog redesign (automatically look up label for entered address)
Diffstat (limited to 'src/qt/addresstablemodel.h')
-rw-r--r-- | src/qt/addresstablemodel.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/qt/addresstablemodel.h b/src/qt/addresstablemodel.h index d8465853b2..3ababfc6b5 100644 --- a/src/qt/addresstablemodel.h +++ b/src/qt/addresstablemodel.h @@ -16,8 +16,7 @@ public: enum ColumnIndex { Label = 0, /* User specified label */ - Address = 1, /* Bitcoin address */ - IsDefaultAddress = 2 /* Is default address? */ + Address = 1 /* Bitcoin address */ }; enum { @@ -39,11 +38,7 @@ public: /* Add an address to the model. Returns the added address on success, and an empty string otherwise. */ - QString addRow(const QString &type, const QString &label, const QString &address, bool setAsDefault); - - /* Set and get default address */ - QString getDefaultAddress() const; - void setDefaultAddress(const QString &defaultAddress); + QString addRow(const QString &type, const QString &label, const QString &address); /* Update address list from core. Invalidates any indices. */ |