CVS commit by giessl: Backport framewidth changes: rev. 1.742 M +5 -1 kmreaderwin.cpp 1.733.2.2 --- kdepim/kmail/kmreaderwin.cpp #1.733.2.1:1.733.2.2 @@ -1540,5 +1540,9 @@ void KMReaderWin::setStyleDependantFrame return; // 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;