[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_2_BRANCH: kdepim/kmail
From: Sandro Giessl <ceebx () users ! sourceforge ! net>
Date: 2004-03-28 12:21:49
Message-ID: 20040328122149.5AB02999B () office ! kde ! org
[Download RAW message or body]
CVS commit by giessl:
Backport framewidth changes (rev. 1.611) I committed a few weeks ago to HEAD.
M +5 -1 kmheaders.cpp 1.605.2.3
--- kdepim/kmail/kmheaders.cpp #1.605.2.2:1.605.2.3
@@ -1535,5 +1535,9 @@ void KMHeaders::setStyleDependantFrameWi
{
// set the width of the frame to a reasonable value for the current GUI style
- int frameWidth = style().pixelMetric( QStyle::PM_DefaultFrameWidth ) - 1;
+ int frameWidth;
+ if( style().isA("KeramikStyle") )
+ frameWidth = style().pixelMetric( QStyle::PM_DefaultFrameWidth ) - 1;
+ else
+ frameWidth = style().pixelMetric( QStyle::PM_DefaultFrameWidth );
if ( frameWidth < 0 )
frameWidth = 0;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic