only save if the KPluginInfo is valid (otherwise we have a dud)
This commit is contained in:
parent
b34b9e9f6a
commit
ec1c4d18fc
@ -199,7 +199,7 @@ uint Applet::id() const
|
|||||||
|
|
||||||
void Applet::save(KConfigGroup &g) const
|
void Applet::save(KConfigGroup &g) const
|
||||||
{
|
{
|
||||||
if (d->transient) {
|
if (d->transient || !d->appletDescription.isValid()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user