[aurorae] Use AlignHCenter instead of AlignCenter for horizontalAlignment

The Text.horizontalAlignment property expects AlignHCenter instead of
AlignCenter. By not using AlignHCenter the centering broke when a window
got maximized.
This commit is contained in:
Martin Gräßlin 2014-09-08 10:03:33 +02:00
parent 65548b0df3
commit edd2899094

View file

@ -104,7 +104,7 @@ void ThemeConfig::load(const KConfig &conf)
m_alignment = Qt::AlignLeft;
}
else if (alignment == QStringLiteral("center")) {
m_alignment = Qt::AlignCenter;
m_alignment = Qt::AlignHCenter;
}
else {
m_alignment = Qt::AlignRight;