remove unnecesary line
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781695
This commit is contained in:
parent
34ae05a9b2
commit
054f4bd2f9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user