Commit ce0a139c authored by Andreas Pakulat's avatar Andreas Pakulat

Fix signal emission to the kcm.

The kcm's changed signal actually has a parameter, so we can't do a
direct connection here and instead need a private slot
parent a01aa98d
......@@ -33,13 +33,19 @@ CustomBuildSystemKCModule::CustomBuildSystemKCModule( QWidget* parent, const QVa
QVBoxLayout* layout = new QVBoxLayout( this );
configWidget = new CustomBuildSystemConfigWidget( this );
connect( configWidget, SIGNAL(changed()), SIGNAL(changed()) );
connect( configWidget, SIGNAL(changed()), SLOT(dataChanged()) );
layout->addWidget( configWidget );
addConfig( CustomBuildSystemSettings::self(), configWidget );
void CustomBuildSystemKCModule::dataChanged()
emit changed(true);
......@@ -41,6 +41,8 @@ public:
virtual void save();
class CustomBuildSystemConfigWidget* configWidget;
public slots:
void dataChanged();
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment