[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/containments/panel
From: Peter Pan <wppan () redflag-linux ! com>
Date: 2009-08-04 1:35:56
Message-ID: 1249349756.721002.2474.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1006608 by peterpan:
Don't change the size of panel when we change the plasma theme or enable/disable \
window effects.
BUG:184905
M +0 -17 panel.cpp
--- trunk/KDE/kdebase/workspace/plasma/containments/panel/panel.cpp #1006607:1006608
@@ -550,23 +550,6 @@
//invalidate the layout and set again
if (layout()) {
- switch (location()) {
- case LeftEdge:
- rightWidth = qMin(rightWidth, qMax(qreal(1), size().width() - \
KIconLoader::SizeMedium));
- break;
- case RightEdge:
- leftWidth = qMin(leftWidth, qMax(qreal(1), size().width() - \
KIconLoader::SizeMedium));
- break;
- case TopEdge:
- bottomHeight = qMin(bottomHeight, qMax(qreal(1), size().height() - \
KIconLoader::SizeMedium));
- break;
- case BottomEdge:
- topHeight = qMin(topHeight, qMax(qreal(1), size().height() - \
KIconLoader::SizeMedium));
- break;
- default:
- break;
- }
-
qreal oldLeft = leftWidth;
qreal oldTop = topHeight;
qreal oldRight = rightWidth;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic