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

List:       kde-commits
Subject:    kdenonbeta/kopete/kopete/chatwindow
From:       Olivier Goffart <ogoffart () tiscalinet ! be>
Date:       2003-06-30 20:47:30
[Download RAW message or body]

CVS commit by ogoffart: 

CCMAIL: 59541-done@bugs.kde.org

I Had aproximatively the same backtrace when I ported the Action menu to
KXMLGUI. 

 #7  0x40811fca in KXMLGUIFactory::removeClient () from /usr/lib/libkdeui.so.4 
 #8  0x40811955 in KXMLGUIFactory::addClient () from /usr/lib/libkdeui.so.4 

The factory does not allow you to have a client connected to two different UI
so it remove to one in the previous window.  But the previous chatwindow does
not exist anymore.

I hope this patch fix this bug.


  M +1 -0      kopetechatwindow.cpp   1.21


--- kdenonbeta/kopete/kopete/chatwindow/kopetechatwindow.cpp  #1.20:1.21
@@ -674,4 +674,5 @@ void KopeteChatWindow::slotDetachChat( i
 
         //if we don't do this, we might crash
+        createGUI(0L);
         guiFactory()->removeClient(detachedView->msgManager());
 


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

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