fixed (stupid) bug concerning window title alignment
svn path=/trunk/KDE/kdebase/workspace/; revision=1015280
This commit is contained in:
parent
01b0bacecc
commit
5cd24c48d0
1 changed files with 2 additions and 2 deletions
|
@ -161,8 +161,8 @@ namespace Nitrogen
|
|||
Qt::Alignment NitrogenConfiguration::titleAlignment( QString value, bool translated )
|
||||
{
|
||||
if (value == titleAlignmentName( Qt::AlignLeft, translated ) ) return Qt::AlignLeft;
|
||||
else if (value == titleAlignmentName( Qt::AlignRight, translated ) ) return Qt::AlignHCenter;
|
||||
else if (value == titleAlignmentName( Qt::AlignCenter, translated ) ) return Qt::AlignRight;
|
||||
else if (value == titleAlignmentName( Qt::AlignHCenter, translated ) ) return Qt::AlignHCenter;
|
||||
else if (value == titleAlignmentName( Qt::AlignRight, translated ) ) return Qt::AlignRight;
|
||||
else return NitrogenConfiguration().titleAlignment();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue