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

List:       kde-commits
Subject:    kdebase/drkonqi
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2003-12-08 3:45:07
[Download RAW message or body]

CVS commit by ossi: 

my "kstddirs overzealous wrt. ~root" cleanup had the side effect of
making DCOP fail in kdm's context (i think the temp dir is not created
automatically), so we need to disable it to avoid a silly error message.
dcop is useless there anyway.
so make "my" --safer switch disable dcop usage as well. that's sort of
name abuse, but makes sense for practical reasons.


  M +2 -3      toplevel.cpp   1.48


--- kdebase/drkonqi/toplevel.cpp  #1.47:1.48
@@ -40,5 +40,4 @@
 #include <kmessagebox.h>
 #include <kprocess.h>
-#include <dcopref.h>
 #include <kapplication.h>
 #include <dcopclient.h>
@@ -91,5 +90,5 @@ Toplevel :: Toplevel(KrashConfig *krashc
   connect(m_krashconf, SIGNAL(newDebuggingApplication(const QString&)), \
SLOT(slotNewDebuggingApp(const QString&)));  
-  if ( kapp->dcopClient()->attach() )
+  if ( !m_krashconf->safeMode() && kapp->dcopClient()->attach() )
     kapp->dcopClient()->registerAs( kapp->name() );
 }


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

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