aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-08 22:27:36 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-08 22:27:36 +0200
commit51d7cc07f10209ac12bd5286391e3c8b095abd34 (patch)
treeb874383fb3c423b3dbd06cbb6f51b0c9c329c8f5 /src/qt/walletmodel.cpp
parent35105534e702d1a6db4fcac994869ab05266285b (diff)
downloadbitcoin-51d7cc07f10209ac12bd5286391e3c8b095abd34.tar.xz
Add context menu on transaction list: copy label, copy address, edit label, show details
Diffstat (limited to 'src/qt/walletmodel.cpp')
-rw-r--r--src/qt/walletmodel.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp
index f962b9a7c7..052bf37e39 100644
--- a/src/qt/walletmodel.cpp
+++ b/src/qt/walletmodel.cpp
@@ -123,18 +123,4 @@ TransactionTableModel *WalletModel::getTransactionTableModel()
return transactionTableModel;
}
-/* Look up label for address in address book, if not found return empty string.
- */
-QString WalletModel::labelForAddress(const QString &address) const
-{
- CRITICAL_BLOCK(wallet->cs_mapAddressBook)
- {
- std::map<std::string, std::string>::iterator mi = wallet->mapAddressBook.find(address.toStdString());
- if (mi != wallet->mapAddressBook.end())
- {
- return QString::fromStdString(mi->second);
- }
- }
- return QString();
-}