Commit be1eacc0 authored by Benjamin Port's avatar Benjamin Port
Browse files

KCM runners: fix default button

Summary: connect new signal from KPluginSelector to respect default button state

Reviewers: #plasma, ervin, meven, crossi

Reviewed By: ervin

Subscribers: davidedmundson, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26467
parent 9d200f06
......@@ -18,6 +18,8 @@
#include "kcm.h"
#include "kcmutils_version.h"
#include <KPluginFactory>
#include <KPluginLoader>
#include <KAboutData>
......@@ -76,6 +78,11 @@ SearchConfigModule::SearchConfigModule(QWidget* parent, const QVariantList& args
connect(m_pluginSelector, SIGNAL(changed(bool)),
this, SIGNAL(changed(bool)));
#if KCMUTILS_VERSION >= QT_VERSION_CHECK(5, 67, 0)
connect(m_pluginSelector, &KPluginSelector::defaulted,
this, &KCModule::defaulted);
#endif
layout->addLayout(headerLayout);
layout->addWidget(m_pluginSelector);
......
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