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

List:       kde-commits
Subject:    KDE/kdebase/kioslave
From:       David Faure <faure () kde ! org>
Date:       2005-10-18 15:00:13
Message-ID: 1129647613.827221.23108.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 471718 by dfaure:

Ouch, slaves crashed on startup because they used to pass 0,0,0,0
to kcmdlineargs, where the last 0 was converted to noKapp=false;
but now it means "CmdLineArgNone", and the qt/kde args are missing...


 M  +1 -1      home/kio_home.cpp  
 M  +1 -1      home/testhome.cpp  
 M  +1 -1      media/kio_media.cpp  
 M  +1 -1      media/testmedia.cpp  
 M  +1 -1      remote/kio_remote.cpp  
 M  +1 -1      remote/testremote.cpp  
 M  +1 -1      system/kio_system.cpp  
 M  +1 -1      system/testsystem.cpp  
 M  +1 -1      trash/kio_trash.cpp  
 M  +1 -1      trash/testtrash.cpp  


--- trunk/KDE/kdebase/kioslave/home/kio_home.cpp #471717:471718
@@ -45,7 +45,7 @@
 	{
 		// KApplication is necessary to use other ioslaves
 		putenv(strdup("SESSION_MANAGER="));
-		KCmdLineArgs::init(argc, argv, "kio_home", 0, 0, 0, 0);
+		KCmdLineArgs::init(argc, argv, "kio_home", 0, 0, 0);
 		KCmdLineArgs::addCmdLineOptions( options );
 		KApplication app( false, false );
 		// We want to be anonymous even if we use DCOP
--- trunk/KDE/kdebase/kioslave/home/testhome.cpp #471717:471718
@@ -47,7 +47,7 @@
 int main(int argc, char *argv[])
 {
     KApplication::disableAutoDcopRegistration();
-    KCmdLineArgs::init(argc,argv,"testhome", 0, 0, 0, 0);
+    KCmdLineArgs::init(argc,argv,"testhome", 0, 0, 0);
     KApplication app;
 
     TestHome test;
--- trunk/KDE/kdebase/kioslave/media/kio_media.cpp #471717:471718
@@ -45,7 +45,7 @@
 	{
 		// KApplication is necessary to use other ioslaves
 		putenv(strdup("SESSION_MANAGER="));
-		KCmdLineArgs::init(argc, argv, "kio_media", 0, 0, 0, 0);
+		KCmdLineArgs::init(argc, argv, "kio_media", 0, 0, 0);
 		KCmdLineArgs::addCmdLineOptions( options );
 		KApplication app( false, false );
 		// We want to be anonymous even if we use DCOP
--- trunk/KDE/kdebase/kioslave/media/testmedia.cpp #471717:471718
@@ -47,7 +47,7 @@
 int main(int argc, char *argv[])
 {
     KApplication::disableAutoDcopRegistration();
-    KCmdLineArgs::init(argc,argv,"testmedia", 0, 0, 0, 0);
+    KCmdLineArgs::init(argc,argv,"testmedia", 0, 0, 0);
     KApplication app;
 
     TestMedia test;
--- trunk/KDE/kdebase/kioslave/remote/kio_remote.cpp #471717:471718
@@ -45,7 +45,7 @@
 	{
 		// KApplication is necessary to use other ioslaves
 		putenv(strdup("SESSION_MANAGER="));
-		KCmdLineArgs::init(argc, argv, "kio_remote", 0, 0, 0, 0);
+		KCmdLineArgs::init(argc, argv, "kio_remote", 0, 0, 0);
 		KCmdLineArgs::addCmdLineOptions( options );
 		KApplication app( false, false );
 		// We want to be anonymous even if we use DCOP
--- trunk/KDE/kdebase/kioslave/remote/testremote.cpp #471717:471718
@@ -47,7 +47,7 @@
 int main(int argc, char *argv[])
 {
     KApplication::disableAutoDcopRegistration();
-    KCmdLineArgs::init(argc,argv,"testremote", 0, 0, 0, 0);
+    KCmdLineArgs::init(argc,argv,"testremote", 0, 0, 0);
     KApplication app;
 
     TestRemote test;
--- trunk/KDE/kdebase/kioslave/system/kio_system.cpp #471717:471718
@@ -46,7 +46,7 @@
 	{
 		// KApplication is necessary to use other ioslaves
 		putenv(strdup("SESSION_MANAGER="));
-		KCmdLineArgs::init(argc, argv, "kio_system", 0, 0, 0, 0);
+		KCmdLineArgs::init(argc, argv, "kio_system", 0, 0, 0);
 		KCmdLineArgs::addCmdLineOptions( options );
 		KApplication app( false, false );
 		// We want to be anonymous even if we use DCOP
--- trunk/KDE/kdebase/kioslave/system/testsystem.cpp #471717:471718
@@ -47,7 +47,7 @@
 int main(int argc, char *argv[])
 {
     KApplication::disableAutoDcopRegistration();
-    KCmdLineArgs::init(argc,argv,"testsystem", 0, 0, 0, 0);
+    KCmdLineArgs::init(argc,argv,"testsystem", 0, 0, 0);
     KApplication app;
 
     TestSystem test;
--- trunk/KDE/kdebase/kioslave/trash/kio_trash.cpp #471717:471718
@@ -59,7 +59,7 @@
         // KApplication is necessary to use kio_file
         putenv(strdup("SESSION_MANAGER="));
         KApplication::disableAutoDcopRegistration();
-        KCmdLineArgs::init(argc, argv, "kio_trash", 0, 0, 0, 0);
+        KCmdLineArgs::init(argc, argv, "kio_trash", 0, 0, 0);
         KCmdLineArgs::addCmdLineOptions( options );
         KApplication app( false, false );
 
--- trunk/KDE/kdebase/kioslave/trash/testtrash.cpp #471717:471718
@@ -83,7 +83,7 @@
     setenv( "KDE_FORK_SLAVES", "yes", true );
 
     KApplication::disableAutoDcopRegistration();
-    KCmdLineArgs::init(argc,argv,"testtrash", 0, 0, 0, 0);
+    KCmdLineArgs::init(argc,argv,"testtrash", 0, 0, 0);
     KApplication app;
 
     TestTrash test;
[prev in list] [next in list] [prev in thread] [next in thread] 

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