Verified Commit 7b75e4f7 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Clean up unused KSettings::Dispatcher usage

No KCM with this component name exists, the config reparsing is already taken care of otherwise
parent 94da14da
Pipeline #71698 passed with stage
in 22 minutes and 3 seconds
......@@ -33,7 +33,6 @@
#include <kmailpartadaptor.h>
#include <kparts/mainwindow.h>
#include <kparts/statusbarextension.h>
#include <ksettings/dispatcher.h>
K_PLUGIN_FACTORY(KMailFactory, registerPlugin<KMailPart>();)
......@@ -80,7 +79,6 @@ KMailPart::KMailPart(QWidget *parentWidget, QObject *parent, const QVariantList
statusBar->addStatusBarItem(mainWidget->dkimWidgetInfo(), 4, false);
setXMLFile(QStringLiteral("kmail_part.rc"), true);
KSettings::Dispatcher::registerComponent(QStringLiteral("kmail2"), mKMailKernel, "slotConfigChanged");
connect(mainWidget, &KMMainWidget::captionChangeRequest, this, &KMailPart::setWindowCaption);
Supports Markdown
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