From kde-commits Sun Mar 28 12:24:15 2004 From: Sandro Giessl Date: Sun, 28 Mar 2004 12:24:15 +0000 To: kde-commits Subject: KDE_3_2_BRANCH: kdepim/kmail Message-Id: <20040328122415.29B80999B () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=108047666026961 CVS commit by giessl: Backport framewidth changes: rev. 1.52 M +5 -1 kmmimeparttree.cpp 1.50.6.2 --- kdepim/kmail/kmmimeparttree.cpp #1.50.6.1:1.50.6.2 @@ -178,5 +178,9 @@ void KMMimePartTree::setStyleDependantFr { // 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;