summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-11-30 22:56:53 +0100
committerMontel Laurent <[email protected]>2017-11-30 22:57:05 +0100
commitd2f699facce57bda4e41c901ef52a1fdea55d3b2 (patch)
tree9f60bb99042debae957c3ffd74441a172f112038
parent7907820a145476f7917e147ee3dc454c40f8af46 (diff)
Add todo
-rw-r--r--plugins/webengineurlinterceptor/adblock/lib/widgets/adblockblockableitemswidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/webengineurlinterceptor/adblock/lib/widgets/adblockblockableitemswidget.cpp b/plugins/webengineurlinterceptor/adblock/lib/widgets/adblockblockableitemswidget.cpp
index e711b87..2de5860 100644
--- a/plugins/webengineurlinterceptor/adblock/lib/widgets/adblockblockableitemswidget.cpp
+++ b/plugins/webengineurlinterceptor/adblock/lib/widgets/adblockblockableitemswidget.cpp
@@ -88,11 +88,15 @@ void AdBlockBlockableItemsWidget::setAdblockResult(const QVector<AdBlockResult>
item->setTextColor(FilterValue, Qt::red);
}
mListItems->setShowDefaultText(mListItems->model()->rowCount() == 0);
+ //TODO read existing list for enable/disable it.
}
void AdBlockBlockableItemsWidget::saveFilters()
{
qWarning() << " void AdBlockBlockableItemsWidget::saveFilters() unimplemented yet";
+ for (int i = 0; i < mListItems->model()->rowCount(); ++i) {
+ //TODO
+ }
//TODO
}