Commit 22e00107 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add parent

parent e20a61a8
......@@ -38,7 +38,7 @@ K_PLUGIN_CLASS_WITH_JSON(KCMAkregatorAdvancedConfig, "akregator_config_advanced.
KCMAkregatorAdvancedConfig::KCMAkregatorAdvancedConfig(QWidget *parent, const QVariantList &args)
: KCModule(parent, args)
, m_widget(new SettingsAdvanced)
, m_widget(new SettingsAdvanced(this))
{
QVBoxLayout *layout = new QVBoxLayout(this);
layout->addWidget(m_widget);
......
......@@ -37,7 +37,7 @@ K_PLUGIN_CLASS_WITH_JSON(KCMAkregatorAppearanceConfig, "akregator_config_appeara
KCMAkregatorAppearanceConfig::KCMAkregatorAppearanceConfig(QWidget *parent, const QVariantList &args)
: KCModule(parent, args)
, m_widget(new QWidget)
, m_widget(new QWidget(this))
{
m_ui.setupUi(m_widget);
......
......@@ -38,7 +38,7 @@ K_PLUGIN_FACTORY(KCMAkregatorArchiveConfigFactory, registerPlugin<KCMAkregatorAr
KCMAkregatorArchiveConfig::KCMAkregatorArchiveConfig(QWidget *parent, const QVariantList &args)
: KCModule(parent, args)
, m_widget(new QWidget)
, m_widget(new QWidget(this))
{
Ui::SettingsArchive m_ui;
m_ui.setupUi(m_widget);
......
......@@ -38,7 +38,7 @@ K_PLUGIN_CLASS_WITH_JSON(KCMAkregatorBrowserConfig, "akregator_config_browser.js
KCMAkregatorBrowserConfig::KCMAkregatorBrowserConfig(QWidget *parent, const QVariantList &args)
: KCModule(parent, args)
, m_widget(new QWidget)
, m_widget(new QWidget(this))
{
Ui::SettingsBrowser ui;
ui.setupUi(m_widget);
......
......@@ -39,7 +39,7 @@ K_PLUGIN_FACTORY(KCMAkregatorGeneralConfigFactory, registerPlugin<KCMAkregatorGe
KCMAkregatorGeneralConfig::KCMAkregatorGeneralConfig(QWidget *parent, const QVariantList &args)
: KCModule(parent, args)
, m_widget(new QWidget)
, m_widget(new QWidget(this))
{
Ui::SettingsGeneral ui;
ui.setupUi(m_widget);
......
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