This commit is contained in:
Marco Martin 2013-02-14 19:56:36 +01:00
parent 8b5ea692b3
commit dc5ccd2d76
2 changed files with 1 additions and 2 deletions

View File

@ -210,7 +210,6 @@ QList<Plasma::Containment *> Corona::importLayout(const KConfigGroup &conf)
Containment *Corona::containmentForScreen(int screen, int desktop) const
{
foreach (Containment *containment, d->containments) {
kWarning() << "AAAAA"<<containment<<containment->screen()<<containment->location();
if (containment->screen() == screen &&
(desktop < 0 || containment->desktop() == desktop) &&
(containment->containmentType() == Containment::DesktopContainment ||

View File

@ -115,7 +115,7 @@ void DesktopCorona::checkScreen(int screen, bool signalWhenExists)
void DesktopCorona::checkDesktop(/*Activity *activity,*/ bool signalWhenExists, int screen, int desktop)
{
Plasma::Containment *c = /*activity->*/containmentForScreen(screen, desktop);
qWarning()<<"AAAAA"<<c<<c->formFactor();
//TODO: remove following when activities are restored
if (!c) {
c = addContainment("desktop");