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

List:       kde-commits
Subject:    kdenetwork/kdict/applet
From:       Henrique Pinto <stampede () coltec ! ufmg ! br>
Date:       2005-05-01 12:47:42
Message-ID: 20050501124742.DBC32669 () office ! kde ! org
[Download RAW message or body]

CVS commit by pinto: 


	* Add visual feedback that KDict is loading.
	  BUGS: 39476


  M +2 -4      kdictapplet.cpp   1.12


--- kdenetwork/kdict/applet/kdictapplet.cpp  #1.11:1.12
@@ -279,7 +279,5 @@ void DictApplet::sendCommand(const QCStr
   DCOPClient *client = kapp->dcopClient();
   if (!client->isApplicationRegistered("kdict")) {
-    KProcess proc;
-    proc << "kdict";
-    proc.start(KProcess::DontCare);
+    KApplication::startServiceByDesktopName("kdict");
     waiting = 1;
     delayedFunc = fun.copy();
@@ -304,5 +302,5 @@ void DictApplet::sendCommand(const QCStr
 void DictApplet::sendDelayedCommand()
 {
-  if (waiting > 150) {   // timeout after fifteen seconds
+  if (waiting > 100) {   // timeout after ten seconds
     waiting = 0;
     return;


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

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