added contrast pixel to text rendering in drag pixmap

svn path=/trunk/KDE/kdebase/workspace/; revision=1125268
icc-effect-5.14.5
Hugo Pereira Da Costa 2010-05-11 04:59:13 +00:00
parent da8593d092
commit 71460bc371
1 changed files with 4 additions and 1 deletions

View File

@ -1783,7 +1783,10 @@ namespace Oxygen
{ textRect.adjust( layoutMetric( LM_TitleBorderLeft ), 0, -layoutMetric(LM_TitleBorderRight), 0 ); }
QString caption( itemValid ? clientGroupItems()[index].title() : Client::caption() );
renderTitleText( &painter, textRect, caption, titlebarTextColor( widget()->palette(), isActive() && itemActive ) );
renderTitleText(
&painter, textRect, caption,
titlebarTextColor( widget()->palette(), isActive() && itemActive ),
titlebarContrastColor( widget()->palette() ) );
// floating frame
helper().drawFloatFrame(