still use the loaded id even when we fail to load the requested containment so that applets get their configuration still
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=795776
This commit is contained in:
parent
24a3d14e68
commit
e2e0745748
@ -346,7 +346,7 @@ Containment* Corona::addContainment(const QString& name, const QVariantList& arg
|
||||
|
||||
// in case we got a non-Containment from Applet::loadApplet or a null containment was requested
|
||||
delete applet;
|
||||
containment = new Containment;
|
||||
containment = new Containment(0, 0, id);
|
||||
|
||||
// we want to provide something and don't care about the failure to launch
|
||||
containment->setFailedToLaunch(false);
|
||||
|
Loading…
Reference in New Issue
Block a user