call configChanged() on every config dialog finish to reset the global
shortcuts pointer. maybe another slot that does the same thing is needed? svn path=/trunk/KDE/kdelibs/; revision=886681
This commit is contained in:
parent
73a23ddf48
commit
db92ebb2c0
@ -1372,6 +1372,8 @@ void Applet::showConfigurationInterface()
|
|||||||
d->addGlobalShortcutsPage(dialog);
|
d->addGlobalShortcutsPage(dialog);
|
||||||
connect(dialog, SIGNAL(applyClicked()), this, SLOT(configChanged()));
|
connect(dialog, SIGNAL(applyClicked()), this, SLOT(configChanged()));
|
||||||
connect(dialog, SIGNAL(okClicked()), this, SLOT(configChanged()));
|
connect(dialog, SIGNAL(okClicked()), this, SLOT(configChanged()));
|
||||||
|
//FIXME: in this case use another ad-hoc slot?
|
||||||
|
connect(dialog, SIGNAL(finished()), this, SLOT(configChanged()));
|
||||||
dialog->show();
|
dialog->show();
|
||||||
} else if (d->script) {
|
} else if (d->script) {
|
||||||
//FIXME: global shorcuts?
|
//FIXME: global shorcuts?
|
||||||
@ -1389,6 +1391,7 @@ void Applet::showConfigurationInterface()
|
|||||||
dialog->showButton(KDialog::Apply, false);
|
dialog->showButton(KDialog::Apply, false);
|
||||||
connect(dialog, SIGNAL(applyClicked()), this, SLOT(configChanged()));
|
connect(dialog, SIGNAL(applyClicked()), this, SLOT(configChanged()));
|
||||||
connect(dialog, SIGNAL(okClicked()), this, SLOT(configChanged()));
|
connect(dialog, SIGNAL(okClicked()), this, SLOT(configChanged()));
|
||||||
|
connect(dialog, SIGNAL(finished()), this, SLOT(configChanged()));
|
||||||
dialog->show();
|
dialog->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user