Small fixes

svn path=/trunk/KDE/kdebase/workspace/; revision=671466
This commit is contained in:
Rafael Fernández López 2007-06-04 20:34:00 +00:00
parent f32b3e8d92
commit eeae545cae
2 changed files with 4 additions and 1 deletions

View file

@ -7,7 +7,7 @@ X-KDE-Library=kcm_kwin4_effect_builtins
X-KDE-FactoryName=kcm_kwineffect_presentwindows
X-KDE-ParentComponents=kwin4_effect_presentwindows
Name=PresentWindows
Name=Present Windows
Name[csb]=BiéżnéÒkno
Name[de]=Fenster zeigen
Name[el]=Παρουσίαση παραθύρων

View file

@ -18,6 +18,7 @@ License. See the file "COPYING" for the exact licensing terms.
#include <kservicetypetrader.h>
#include <kplugininfo.h>
#include <kservice.h>
#include <ksettings/dispatcher.h>
#include <QtDBus/QtDBus>
#include <QBoxLayout>
@ -45,6 +46,8 @@ KWinEffectsConfig::KWinEffectsConfig(QWidget *parent, const QStringList &)
setLayout(layout);
connect(mPluginSelector, SIGNAL(changed(bool)), this, SLOT(changed()));
connect(mPluginSelector, SIGNAL(configCommitted(const QByteArray&)),
KSettings::Dispatcher::self(), SLOT(reparseConfiguration(const QByteArray&)));
// Find all .desktop files of the effects
KService::List offers = KServiceTypeTrader::self()->query("KWin/Effect");