update// updated contactmodel and added new generatorclass

This commit is contained in:
Strider
2020-05-09 21:19:59 +02:00
parent 7dfb9a1929
commit abdad2b09d
4 changed files with 13 additions and 16 deletions

View File

@@ -12,8 +12,6 @@ void ContactModel::renderContactList(QListView* view)
for(auto &c : AddressBook::getInstance()->getAllAddressLabels())
{
auto theme = Settings::getInstance()->get_theme_name();
if ((theme == "dark" || theme == "midnight")) {
QString avatar = c.getAvatar();
@@ -25,8 +23,7 @@ void ContactModel::renderContactList(QListView* view)
view->setUniformItemSizes(true);
view->setDragDropMode(QAbstractItemView::DropOnly);
view->show();
}
}