Hush lite wallet https://faq.hush.is/sdl
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
342 B

#include "contactmodel.h"
#include "addressbook.h"
#include "mainwindow.h"
void ContactModel::renderContactList(QListWidget* view)
{
while(view->count() > 0)
{
view->takeItem(0);
}
for(auto &c : AddressBook::getInstance()->getAllAddressLabels())
{
view->addItem(c.getPartnerAddress());
}
}