send Memo to selected Contact
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user