Remove deprecated ctor
This commit is contained in:
parent
fcff62c4b6
commit
973a2e8f22
1 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,8 @@ void EffectConfig::openConfig(const QString &effectName)
|
|||
|
||||
KService::List offers = KServiceTypeTrader::self()->query("KWin/Effect");
|
||||
for(KService::Ptr service : offers) {
|
||||
KPluginInfo plugin(service);
|
||||
const QString effectPluginPath = QStandardPaths::locate(QStandardPaths::GenericDataLocation, "kde5/services/"+ service->entryPath(), QStandardPaths::LocateFile);
|
||||
KPluginInfo plugin(effectPluginPath);
|
||||
if (plugin.name() == effectName) {
|
||||
QString effectConfig = effectName.toLower().remove(" ") + "_config";
|
||||
KCModuleProxy *proxy = new KCModuleProxy(effectConfig);
|
||||
|
|
Loading…
Reference in a new issue