add tab to accountdetails managing banned contacts
implements banned account, add a tab at the end of account details
that shows a list of banned contacts, and on click displays a pannel
with detailed contact informations, providing the option to deban
this contact.
Change-Id: Icc2a0e315830bc3f7beb23797bedf12ecfd9a074
Reviewed-by: Anthony Léonard <anthony.leonard@savoirfairelinux.com>
diff --git a/accountdetails.cpp b/accountdetails.cpp
index 4225064..9000d64 100644
--- a/accountdetails.cpp
+++ b/accountdetails.cpp
@@ -242,6 +242,7 @@
ui->cipherListView->setVisible(true);
ui->tableView->setModel((QAbstractItemModel*)currentAccount_->ringDeviceModel());
+ ui->bannedContactsWidget->setAccount(currentAccount_);
}
void