send Memo to selected Contact

This commit is contained in:
DenioD
2020-04-29 00:51:07 +02:00
parent a5020cbe24
commit e9ae0e78c5
6 changed files with 82 additions and 17 deletions

View File

@@ -1,5 +1,6 @@
#include "contactmodel.h"
#include "addressbook.h"
#include "mainwindow.h"
void ContactModel::renderContactList(QListWidget* view)
{
@@ -9,7 +10,8 @@ void ContactModel::renderContactList(QListWidget* view)
}
for(auto &c : AddressBook::getInstance()->getAllAddressLabels())
{
view->addItem(c.getName());
view->addItem(c.getPartnerAddress());
}
}