left align title on windows

svn path=/trunk/KDE/kdebase/workspace/; revision=717379
This commit is contained in:
Casper Boemann 2007-09-26 19:35:55 +00:00
parent 75e62eefa5
commit b67a883b5e

View file

@ -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;