Browse Source

render contact in all themes

pull/130/head
DenioD 4 years ago
parent
commit
17bffcdfea
  1. 5
      src/contactmodel.cpp

5
src/contactmodel.cpp

@ -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();
}
}

Loading…
Cancel
Save