diff --git a/src/lib/adblock/adblocktreewidget.cpp b/src/lib/adblock/adblocktreewidget.cpp index 3245b5c07..317e4b61a 100644 --- a/src/lib/adblock/adblocktreewidget.cpp +++ b/src/lib/adblock/adblocktreewidget.cpp @@ -1,6 +1,6 @@ /* ============================================================ * QupZilla - WebKit based browser -* Copyright (C) 2010-2014 David Rosca +* Copyright (C) 2010-2017 David Rosca * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -216,10 +216,6 @@ void AdBlockTreeWidget::adjustItemFeatures(QTreeWidgetItem* item, const AdBlockR item->setForeground(0, QColor(Qt::darkBlue)); item->setFont(0, QFont()); } - else { - item->setForeground(0, QColor()); - item->setFont(0, QFont()); - } } void AdBlockTreeWidget::keyPressEvent(QKeyEvent* event)