Commit 03aee9c6 authored by Laurent Montel's avatar Laurent Montel 😁

Add signal when we change config

parent 301639a7
......@@ -52,7 +52,6 @@ MessageViewer::NetworkPluginUrlInterceptorConfigureWidgetSetting AdblockPluginUr
settings.name = i18n("AdBlock");
AdBlock::AdblockPluginUrlInterceptorConfigureWidget *configureWidget = new AdBlock::AdblockPluginUrlInterceptorConfigureWidget(parent);
connect(configureWidget, &AdBlock::AdblockPluginUrlInterceptorConfigureWidget::configureChanged, AdBlock::AdblockManager::self(), &AdBlock::AdblockManager::reloadConfig);
settings.configureWidget = configureWidget;
return settings;
}
......
......@@ -30,6 +30,7 @@ AdblockPluginUrlInterceptorConfigureWidget::AdblockPluginUrlInterceptorConfigure
mConfigureWidget = new MessageViewer::AdBlockSettingWidget(this);
mConfigureWidget->setObjectName(QStringLiteral("configurewidget"));
hbox->addWidget(mConfigureWidget);
connect(mConfigureWidget, &MessageViewer::AdBlockSettingWidget::settingsChanged, this, &AdblockPluginUrlInterceptorConfigureWidget::configureChanged);
}
AdblockPluginUrlInterceptorConfigureWidget::~AdblockPluginUrlInterceptorConfigureWidget()
......
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