From e4360447a4effaa25c971b38603857ca370d1fce Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Tue, 26 Sep 2017 21:47:43 +0200 Subject: [PATCH] Remove unused code. --- resources/binaries | 2 +- src/core/feedsmodel.cpp | 2 +- src/services/abstract/rootitem.cpp | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/resources/binaries b/resources/binaries index e9833a2e4..d44aacc99 160000 --- a/resources/binaries +++ b/resources/binaries @@ -1 +1 @@ -Subproject commit e9833a2e45d8d3241f662d3a03ed19d3446386ce +Subproject commit d44aacc99fdc997648c924f0d5444566164f142e diff --git a/src/core/feedsmodel.cpp b/src/core/feedsmodel.cpp index aecc3406f..f1791267f 100755 --- a/src/core/feedsmodel.cpp +++ b/src/core/feedsmodel.cpp @@ -540,7 +540,7 @@ void FeedsModel::loadActivatedServiceAccounts() { } if (serviceRoots().isEmpty()) { - QTimer::singleShot(3000, [this]() { + QTimer::singleShot(3000, []() { qApp->mainForm()->showAddAccountDialog(); }); } diff --git a/src/services/abstract/rootitem.cpp b/src/services/abstract/rootitem.cpp index 114a7e013..841cc5704 100755 --- a/src/services/abstract/rootitem.cpp +++ b/src/services/abstract/rootitem.cpp @@ -167,10 +167,6 @@ QVariant RootItem::data(int column, int role) const { } case Qt::FontRole: - if (countOfUnreadMessages() > 0) { - int a = 4; - } - return countOfUnreadMessages() > 0 ? m_boldFont : m_normalFont; case Qt::DisplayRole: