port to value based KPluginInfo
svn path=/trunk/KDE/kdebase/workspace/; revision=691115icc-effect-5.14.5
parent
d33949b4d4
commit
652d0fcec3
|
@ -50,7 +50,7 @@ KWinEffectsConfig::KWinEffectsConfig(QWidget *parent, const QStringList &)
|
||||||
|
|
||||||
// Find all .desktop files of the effects
|
// Find all .desktop files of the effects
|
||||||
KService::List offers = KServiceTypeTrader::self()->query("KWin/Effect");
|
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
|
// Add them to the plugin selector
|
||||||
mPluginSelector->addPlugins(effectinfos, KPluginSelector::ReadConfigFile, i18n("Appearance"), "Appearance", mKWinConfig);
|
mPluginSelector->addPlugins(effectinfos, KPluginSelector::ReadConfigFile, i18n("Appearance"), "Appearance", mKWinConfig);
|
||||||
|
|
Loading…
Reference in New Issue