left align title on windows
svn path=/trunk/KDE/kdebase/workspace/; revision=717379
This commit is contained in:
parent
75e62eefa5
commit
b67a883b5e
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ namespace Oxygen
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
bool OxygenFactory::initialized_ = false;
|
bool OxygenFactory::initialized_ = false;
|
||||||
Qt::Alignment OxygenFactory::titlealign_ = Qt::AlignHCenter;
|
Qt::Alignment OxygenFactory::titlealign_ = Qt::AlignLeft;
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
// OxygenFactory()
|
// OxygenFactory()
|
||||||
|
@ -107,7 +107,7 @@ bool OxygenFactory::readConfig()
|
||||||
|
|
||||||
// grab settings
|
// grab settings
|
||||||
Qt::Alignment oldalign = titlealign_;
|
Qt::Alignment oldalign = titlealign_;
|
||||||
QString value = group.readEntry("TitleAlignment", "AlignHCenter");
|
QString value = group.readEntry("TitleAlignment", "AlignLeft");
|
||||||
if (value == "AlignLeft") titlealign_ = Qt::AlignLeft;
|
if (value == "AlignLeft") titlealign_ = Qt::AlignLeft;
|
||||||
else if (value == "AlignHCenter") titlealign_ = Qt::AlignHCenter;
|
else if (value == "AlignHCenter") titlealign_ = Qt::AlignHCenter;
|
||||||
else if (value == "AlignRight") titlealign_ = Qt::AlignRight;
|
else if (value == "AlignRight") titlealign_ = Qt::AlignRight;
|
||||||
|
|
Loading…
Reference in a new issue