Remove code that can never be executed.
We know d->uiReady is false, otherwise we wouldn't be in this code block. Modifying d->loadingApplets won't change that. REVIEW: 128709
This commit is contained in:
parent
1d66098e50
commit
b07904b901
@ -431,10 +431,6 @@ void Containment::addApplet(Applet *applet)
|
||||
|
||||
if (!d->uiReady) {
|
||||
d->loadingApplets << applet;
|
||||
if (d->uiReady) {
|
||||
d->uiReady = false;
|
||||
emit uiReadyChanged(false);
|
||||
}
|
||||
}
|
||||
|
||||
connect(applet, SIGNAL(configNeedsSaving()), this, SIGNAL(configNeedsSaving()));
|
||||
|
Loading…
Reference in New Issue
Block a user