From feb6a536591b1205ae00b8a2451fc5b1c5c5512a Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Fri, 2 Dec 2011 17:00:29 +0100 Subject: [PATCH] containmentType() .. NOT type()! and now we know the source of the "panel covers the entire screen" bug BUG:259704 --- view.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view.cpp b/view.cpp index 34a103889..f232b58ef 100644 --- a/view.cpp +++ b/view.cpp @@ -188,8 +188,8 @@ void View::setScreen(int screen, int desktop) // handle views that are working with panel containment types if (d->containment && - (d->containment->type() == Containment::PanelContainment || - d->containment->type() == Containment::CustomPanelContainment)) { + (d->containment->containmentType() == Containment::PanelContainment || + d->containment->containmentType() == Containment::CustomPanelContainment)) { d->containment->setScreen(screen, desktop); return; }