We should have only 1 proxy, not 2
This commit is contained in:
parent
8081e2eb53
commit
abaf03c1d0
1 changed files with 1 additions and 2 deletions
|
@ -53,7 +53,6 @@ void EffectConfig::openConfig(const QString &effectName) {
|
|||
//setup the UI
|
||||
QDialog dialog;
|
||||
QVBoxLayout layout;
|
||||
KCModuleProxy *proxy;
|
||||
QDialogButtonBox *buttons = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
|
||||
|
||||
buttons->setCenterButtons(true);
|
||||
|
@ -67,7 +66,7 @@ void EffectConfig::openConfig(const QString &effectName) {
|
|||
KPluginInfo plugin(service);
|
||||
if (plugin.name() == effectName) {
|
||||
QString effectConfig = serviceName(plugin.name() + "_config");
|
||||
proxy = new KCModuleProxy(effectConfig);
|
||||
KCModuleProxy *proxy = new KCModuleProxy(effectConfig);
|
||||
|
||||
//setup the Layout of our UI
|
||||
layout.addWidget(proxy);
|
||||
|
|
Loading…
Reference in a new issue