From kde-commits Thu May 29 22:39:41 2008 From: Roman Jarosz Date: Thu, 29 May 2008 22:39:41 +0000 To: kde-commits Subject: KDE/kdenetwork/kopete/kopete/config/chatwindow Message-Id: <1212100781.852634.20377.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=121210079423988 SVN commit 814314 by rjarosz: Add hack that emits kcfg signals so Kopete can update user intefrace. KCModule::save() doesn't emit kcfg signals and I didn't find BIC compatible way to make it to. M +6 -0 chatwindowconfig.cpp --- trunk/KDE/kdenetwork/kopete/kopete/config/chatwindow/chatwindowconfig.cpp #814313:814314 @@ -265,6 +265,12 @@ if (item) KEmoticons::setTheme( item->text() ); + // Ugly hacks, this will emit the kcfg signals + appearanceSettings->setChatTextColor(m_colorsUi.kcfg_chatTextColor->color()); + appearanceSettings->setUseEmoticons(m_emoticonsUi.kcfg_useEmoticons->isChecked()); + settings->setHighlightForegroundColor(m_colorsUi.kcfg_highlightForegroundColor->color()); + settings->setChatBgOverride(m_colorsUi.kcfg_chatBgOverride->isChecked()); + appearanceSettings->writeConfig(); settings->writeConfig(); m_styleChanged = false;