Commit 2679d7e9 authored by Laurent Montel's avatar Laurent Montel 😁

Clean up

parent 559323fd
......@@ -189,19 +189,10 @@ void AdBlockBlockableItemsWidget::handleSearchBlockableScriptsItems(const QVaria
//TODO more check ?
}
void AdBlockBlockableItemsWidget::handleSearchBlockableItems(const QVariant &var)
{
qDebug() << " AdBlockBlockableItemsWidget::handleSearchBlockableItems " << var;
//TODO
}
void AdBlockBlockableItemsWidget::searchBlockableItems()
{
if (mWebEngineView) {
mListItems->clear();
//TODO fix me add script
//TODO search img
mWebEngineView->page()->runJavaScript(MessageViewer::WebEngineScript::findAllImages(), invoke(this, &AdBlockBlockableItemsWidget::handleSearchBlockableImageItems));
}
}
......
......@@ -51,7 +51,6 @@ public:
QString elementType(AdBlockBlockableItemsWidget::TypeElement type);
QString elementTypeToI18n(AdBlockBlockableItemsWidget::TypeElement type);
private Q_SLOTS:
void handleSearchBlockableItems(const QVariant &var);
void customContextMenuRequested(const QPoint &);
void slotCopyFilterItem();
void slotOpenItem();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment