never hide desktops
Change-Id: I804bc9de57b42c1e299cc20efb636bfab3457464
This commit is contained in:
parent
7b747fb341
commit
fa0a37c705
@ -105,7 +105,10 @@ void ViewPrivate::setContainment(Plasma::Containment *cont)
|
|||||||
q, &View::showConfigurationInterface);
|
q, &View::showConfigurationInterface);
|
||||||
QObject::connect(cont, SIGNAL(destroyedChanged(bool)),
|
QObject::connect(cont, SIGNAL(destroyedChanged(bool)),
|
||||||
q, SLOT(updateDestroyed(bool)));
|
q, SLOT(updateDestroyed(bool)));
|
||||||
q->setVisible(!cont->destroyed() && cont->isUiReady());
|
if (cont->containmentType() == Plasma::Types::PanelContainment ||
|
||||||
|
cont->containmentType() == Plasma::Types::CustomPanelContainment) {
|
||||||
|
q->setVisible(!cont->destroyed() && cont->isUiReady());
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user