diff --git a/options.cpp b/options.cpp index f2eee2d857..8fb12e84f1 100644 --- a/options.cpp +++ b/options.cpp @@ -176,6 +176,8 @@ Options::Options(QObject *parent) { m_settings->setDefaults(); syncFromKcfgc(); + + connect(this, SIGNAL(focusPolicyIsResonableChanged()), this, SIGNAL(&KConfigOptions::configChanged())); } Options::~Options() diff --git a/options.h b/options.h index 8b3fde4fd2..096a2ef4bf 100644 --- a/options.h +++ b/options.h @@ -86,7 +86,7 @@ class Options : public KDecorationOptions **/ Q_PROPERTY(bool separateScreenFocus READ isSeparateScreenFocus WRITE setSeparateScreenFocus NOTIFY separateScreenFocusChanged) Q_PROPERTY(int placement READ placement WRITE setPlacement NOTIFY placementChanged) - Q_PROPERTY(bool focusPolicyIsReasonable READ focusPolicyIsReasonable NOTIFY configChanged) + Q_PROPERTY(bool focusPolicyIsReasonable READ focusPolicyIsReasonable NOTIFY focusPolicyIsResonableChanged) /** * the size of the zone that triggers snapping on desktop borders */ @@ -743,10 +743,9 @@ public: //---------------------- Q_SIGNALS: - void configChanged(); - // for properties void focusPolicyChanged(); + void focusPolicyIsResonableChanged(); void nextFocusPrefersMouseChanged(); void clickRaiseChanged(); void autoRaiseChanged();