port to value based KPluginInfo

svn path=/trunk/KDE/kdebase/workspace/; revision=691115
This commit is contained in:
Matthias Kretz 2007-07-22 23:10:53 +00:00
parent d33949b4d4
commit 652d0fcec3

View file

@ -50,7 +50,7 @@ KWinEffectsConfig::KWinEffectsConfig(QWidget *parent, const QStringList &)
// Find all .desktop files of the effects
KService::List offers = KServiceTypeTrader::self()->query("KWin/Effect");
QList<KPluginInfo*> effectinfos = KPluginInfo::fromServices(offers);
QList<KPluginInfo> effectinfos = KPluginInfo::fromServices(offers);
// Add them to the plugin selector
mPluginSelector->addPlugins(effectinfos, KPluginSelector::ReadConfigFile, i18n("Appearance"), "Appearance", mKWinConfig);