[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/kopete/config/chatwindow
From:       Dennis Nienhüser <earthwings () gentoo ! org>
Date:       2008-07-07 18:22:54
Message-ID: 1215454974.375959.19013.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 829166 by nienhueser:

Rip off the fix for bug 163382 to work around another missing KComponentData crash.
BUG: 165919


 M  +5 -0      chatwindowconfig.cpp  


--- trunk/KDE/kdenetwork/kopete/kopete/config/chatwindow/chatwindowconfig.cpp #829165:829166
@@ -677,6 +677,11 @@
 
 void ChatWindowConfig::slotManageEmoticonThemes()
 {
+	// FIXME: Upon closing the Settings KCMultiDialog all KCMs are deleted and when reopening
+	// the settings dialog there is no active valid KComponentData, which KNS2 relies on.
+	// Forcing an active one below works around bug 165919, but the problem is somewhere else.
+	KGlobal::setActiveComponent(KopeteChatWindowConfigFactory::componentData());
+
 	KCMultiDialog *kcm = new KCMultiDialog( this );
 	kcm->setCaption( i18n( "Configure Emoticon Themes" ) );
 	kcm->addModule( "emoticons" );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic