diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-06-07 18:59:01 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-06-07 18:59:01 +0200 |
| commit | 8e86dca256624d76022be3b461b736dfc1f87625 (patch) | |
| tree | 96bc89eaca145fff87bbda6a9c4fd4984cb61c51 /gui/src/addressbookdialog.cpp | |
| parent | align "amount" input in send coins dialog to the right (diff) | |
| download | discoin-8e86dca256624d76022be3b461b736dfc1f87625.tar.xz discoin-8e86dca256624d76022be3b461b736dfc1f87625.zip | |
consistent bracing style
Diffstat (limited to 'gui/src/addressbookdialog.cpp')
| -rw-r--r-- | gui/src/addressbookdialog.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gui/src/addressbookdialog.cpp b/gui/src/addressbookdialog.cpp index 0228eff46..eaab66a20 100644 --- a/gui/src/addressbookdialog.cpp +++ b/gui/src/addressbookdialog.cpp @@ -80,7 +80,8 @@ void AddressBookDialog::on_copyToClipboard_clicked() QTableView *table = getCurrentTable(); QModelIndexList indexes = table->selectionModel()->selectedRows(AddressTableModel::Address); - foreach (QModelIndex index, indexes) { + foreach (QModelIndex index, indexes) + { QVariant address = table->model()->data(index); QApplication::clipboard()->setText(address.toString()); } @@ -148,7 +149,8 @@ void AddressBookDialog::on_buttonBox_accepted() QTableView *table = getCurrentTable(); QModelIndexList indexes = table->selectionModel()->selectedRows(AddressTableModel::Address); - foreach (QModelIndex index, indexes) { + foreach (QModelIndex index, indexes) + { QVariant address = table->model()->data(index); returnValue = address.toString(); } |