From edd2899094a80f1a94e4d0b63e89e44e314c978a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 8 Sep 2014 10:03:33 +0200 Subject: [PATCH] [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. --- clients/aurorae/src/lib/themeconfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/aurorae/src/lib/themeconfig.cpp b/clients/aurorae/src/lib/themeconfig.cpp index 3df01101a4..8a7e699f63 100644 --- a/clients/aurorae/src/lib/themeconfig.cpp +++ b/clients/aurorae/src/lib/themeconfig.cpp @@ -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;