From 054f4bd2f984eea63ebe6b4c1cc24b5b9b67eb9d Mon Sep 17 00:00:00 2001 From: Chani Armitage Date: Mon, 3 Mar 2008 14:40:02 +0000 Subject: [PATCH] remove unnecesary line svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781695 --- containment.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/containment.cpp b/containment.cpp index c5db1e990..98a2eb058 100644 --- a/containment.cpp +++ b/containment.cpp @@ -719,7 +719,7 @@ void Containment::setScreen(int screen) if (screen < -1) { screen = -1; } -//FIXME several blatant bugs here + //kDebug() << "setting screen to " << screen << "and type is" << containmentType(); if (screen < numScreens && screen > -1) { QRect r = desktop->screenGeometry(screen); @@ -750,7 +750,6 @@ void Containment::setScreen(int screen) setGeometry(r); //kDebug() << "setting geometry to" << desktop->screenGeometry(screen) << r << geometry(); } else if (containmentType() == PanelContainment) { - QRect r = desktop->screenGeometry(screen); //kDebug() << "we are a panel on" << r << ", let's move ourselves to a negative coordinate system" << -(r.y() * 2) - r.height() - INTER_CONTAINMENT_MARGIN; // panels are moved into negative coords; we double the x() so that each screen get's // it's own area for panels