diff --git a/kcmkwin/kwincompositing/main.cpp b/kcmkwin/kwincompositing/main.cpp index 34ecae139d..90655ad259 100644 --- a/kcmkwin/kwincompositing/main.cpp +++ b/kcmkwin/kwincompositing/main.cpp @@ -573,7 +573,10 @@ void KWinCompositingConfig::save() if (m_showConfirmDialog) { m_showConfirmDialog = false; - showConfirmDialog(advancedChanged); + if (advancedChanged) + QTimer::singleShot(1000, this, SLOT(confirmReInit())); + else + showConfirmDialog(false); } } diff --git a/kcmkwin/kwincompositing/main.h b/kcmkwin/kwincompositing/main.h index 94c62deea7..bd2950961f 100644 --- a/kcmkwin/kwincompositing/main.h +++ b/kcmkwin/kwincompositing/main.h @@ -75,6 +75,7 @@ public slots: void initEffectSelector(); private slots: + void confirmReInit() { showConfirmDialog(true); } void rearmGlSupport(); void suggestGraphicsSystem(); void toogleSmoothScaleUi(int compositingType);