From 159bccc2d55a6dc82ed0a46026cb173aa67ea764 Mon Sep 17 00:00:00 2001 From: Antonis Tsiapaliokas Date: Tue, 10 Sep 2013 13:31:13 +0300 Subject: [PATCH] Use the new Singal and Slot syntax, now we are able to check for errors at the build time. --- kcmkwin/kwincompositing/effectconfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcmkwin/kwincompositing/effectconfig.cpp b/kcmkwin/kwincompositing/effectconfig.cpp index 7ce873fd20..42fbec8038 100644 --- a/kcmkwin/kwincompositing/effectconfig.cpp +++ b/kcmkwin/kwincompositing/effectconfig.cpp @@ -58,7 +58,7 @@ void EffectConfig::openConfig(const QString &effectName) buttons->setCenterButtons(true); //Here we connect our buttons with the dialog - connect(buttons, SIGNAL(accepted()), &dialog, SLOT(accept())); + connect(buttons, SIGNAL(QDialogButtonBox::accepted), &dialog, SLOT(QDialog::accept)); connect(buttons, SIGNAL(rejected()), &dialog, SLOT(reject())); KService::List offers = KServiceTypeTrader::self()->query("KWin/Effect");