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

List:       kde-commits
Subject:    kdebase/kcontrol/screensaver
From:       Chris Howells <howells () kde ! org>
Date:       2003-04-17 2:09:57
[Download RAW message or body]

CVS commit by howells: 

Don't allow phantom screensaver processes to live on when the preview/test has \
finished.

Lesson of the day: don't expect KProcess::kill() to work if you use \
KProcess::start(KProcess::DontCare), instead KProcess::NotifyOnExit must be used.

Huge thanks to ossi for helping me work out what was wrong with KProcess :)


  M +1 -1      scrnsave.cpp   1.64


--- kdebase/kcontrol/screensaver/scrnsave.cpp  #1.63:1.64
@@ -816,5 +816,5 @@ void KScreenSaver::slotTest()
 
         mTesting = true;
-        mTestProc->start(KProcess::DontCare);
+        mTestProc->start(KProcess::NotifyOnExit);
     }
 }


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

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