Remove unused code.

This commit is contained in:
Martin Rotter 2017-09-26 21:47:43 +02:00
parent be4c490317
commit e4360447a4
3 changed files with 2 additions and 6 deletions

@ -1 +1 @@
Subproject commit e9833a2e45d8d3241f662d3a03ed19d3446386ce Subproject commit d44aacc99fdc997648c924f0d5444566164f142e

View file

@ -540,7 +540,7 @@ void FeedsModel::loadActivatedServiceAccounts() {
} }
if (serviceRoots().isEmpty()) { if (serviceRoots().isEmpty()) {
QTimer::singleShot(3000, [this]() { QTimer::singleShot(3000, []() {
qApp->mainForm()->showAddAccountDialog(); qApp->mainForm()->showAddAccountDialog();
}); });
} }

View file

@ -167,10 +167,6 @@ QVariant RootItem::data(int column, int role) const {
} }
case Qt::FontRole: case Qt::FontRole:
if (countOfUnreadMessages() > 0) {
int a = 4;
}
return countOfUnreadMessages() > 0 ? m_boldFont : m_normalFont; return countOfUnreadMessages() > 0 ? m_boldFont : m_normalFont;
case Qt::DisplayRole: case Qt::DisplayRole: