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

List:       kde-commits
Subject:    kdelibs/kdeui
From:       Olivier Goffart <ogoffart () tiscalinet ! be>
Date:       2003-11-30 17:25:25
[Download RAW message or body]

CVS commit by ogoffart: 

Fix crash in Kopete.
Review by Simon Hausmann


  M +2 -2      kxmlguiclient.cpp   1.81


--- kdelibs/kdeui/kxmlguiclient.cpp  #1.80:1.81
@@ -27,4 +27,5 @@
 #include <qtextstream.h>
 #include <qregexp.h>
+#include <qguardedptr.h>
 
 #include <kinstance.h>
@@ -42,5 +43,4 @@ public:
   {
     m_instance = KGlobal::instance();
-    m_factory = 0L;
     m_parent = 0L;
     m_builder = 0L;
@@ -56,5 +56,5 @@ public:
   KActionCollection *m_actionCollection;
   QDomDocument m_buildDocument;
-  KXMLGUIFactory *m_factory;
+  QGuardedPtr<KXMLGUIFactory> m_factory;
   KXMLGUIClient *m_parent;
   //QPtrList<KXMLGUIClient> m_supers;


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

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