Made Center (full width) the default title alignment.

This way, window title is centered with respect to background radial gradient.

svn path=/trunk/KDE/kdebase/workspace/; revision=1210059
This commit is contained in:
Hugo Pereira Da Costa 2010-12-29 10:25:55 +00:00
parent 6bfb3dacfe
commit 5ca57bf518

View file

@ -36,7 +36,7 @@ namespace Oxygen
//__________________________________________________ //__________________________________________________
Configuration::Configuration( void ): Configuration::Configuration( void ):
titleAlignment_( Qt::AlignHCenter ), titleAlignment_( Qt::AlignHCenter ),
centerTitleOnFullWidth_( false ), centerTitleOnFullWidth_( true ),
buttonSize_( ButtonDefault ), buttonSize_( ButtonDefault ),
frameBorder_( BorderTiny ), frameBorder_( BorderTiny ),
blendColor_( BlendFromStyle ), blendColor_( BlendFromStyle ),
@ -370,6 +370,7 @@ namespace Oxygen
return return
titleAlignment() == other.titleAlignment() && titleAlignment() == other.titleAlignment() &&
centerTitleOnFullWidth() == other.centerTitleOnFullWidth() &&
buttonSize() == other.buttonSize() && buttonSize() == other.buttonSize() &&
frameBorder() == other.frameBorder() && frameBorder() == other.frameBorder() &&
blendColor() == other.blendColor() && blendColor() == other.blendColor() &&