fixed (again) sizegrip position in preview mode

svn path=/trunk/KDE/kdebase/workspace/; revision=1018676
This commit is contained in:
Hugo Pereira Da Costa 2009-09-02 04:26:59 +00:00
parent da37b1f16d
commit b0769ebdb8

View file

@ -219,8 +219,11 @@ namespace Nitrogen
{
position -= QPoint(
client().layoutMetric( NitrogenClient::LM_BorderLeft )+client().layoutMetric( NitrogenClient::LM_OuterPaddingLeft ),
client().layoutMetric( NitrogenClient::LM_TitleHeight )+client().layoutMetric( NitrogenClient::LM_TitleEdgeTop )+client().layoutMetric( NitrogenClient::LM_TitleEdgeBottom )+client().layoutMetric( NitrogenClient::LM_BorderBottom ) );
client().layoutMetric( NitrogenClient::LM_BorderRight )+
client().layoutMetric( NitrogenClient::LM_OuterPaddingRight ),
client().layoutMetric( NitrogenClient::LM_OuterPaddingBottom )+
client().layoutMetric( NitrogenClient::LM_BorderBottom )
);
} else if( decoration_offset_ ) {