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:
David Edmundson 2016-08-18 12:52:45 +01:00
parent 1d66098e50
commit b07904b901

View File

@ -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()));