From 17bffcdfea728fa539cead106f890b0870132a0f Mon Sep 17 00:00:00 2001 From: DenioD <41270280+DenioD@users.noreply.github.com> Date: Sat, 9 May 2020 16:57:46 +0200 Subject: [PATCH] render contact in all themes --- src/contactmodel.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/contactmodel.cpp b/src/contactmodel.cpp index 41b7758..ad58ccb 100644 --- a/src/contactmodel.cpp +++ b/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(); - - } + }