From 42a0a122524bec7ed7d1a03d74c6c9f9ebc4a2bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sun, 14 Mar 2010 15:35:14 +0000 Subject: [PATCH] Use KDecorationOption::defaultTitleButtons(Left|Right) instead of hardcoding the strings in Aurorae theme config. svn path=/trunk/KDE/kdebase/workspace/; revision=1103187 --- clients/aurorae/src/themeconfig.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clients/aurorae/src/themeconfig.cpp b/clients/aurorae/src/themeconfig.cpp index 53674cbda2..104d1120b7 100644 --- a/clients/aurorae/src/themeconfig.cpp +++ b/clients/aurorae/src/themeconfig.cpp @@ -15,6 +15,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . *********************************************************************/ #include "themeconfig.h" +#include #include #include @@ -59,8 +60,8 @@ void ThemeConfig::load(KConfig *conf) m_verticalAlignment = Qt::AlignBottom; } m_animationTime = general.readEntry("Animation", 0); - m_defaultButtonsLeft = general.readEntry("LeftButtons", "MS"); - m_defaultButtonsRight = general.readEntry("RightButtons", "HIA__X"); + m_defaultButtonsLeft = general.readEntry("LeftButtons", KDecorationOptions::defaultTitleButtonsLeft()); + m_defaultButtonsRight = general.readEntry("RightButtons", KDecorationOptions::defaultTitleButtonsRight()); m_shadow = general.readEntry("Shadow", true); KConfigGroup border(conf, "Layout");