SVN: toys/kernelupdatenotifier/kernelupdatenotifier.cpp

shadzik shadzik at pld-linux.org
Mon Mar 23 20:18:57 CET 2009


Author: shadzik
Date: Mon Mar 23 20:18:56 2009
New Revision: 10241

Modified:
   toys/kernelupdatenotifier/kernelupdatenotifier.cpp
Log:
- use kDebug() now


Modified: toys/kernelupdatenotifier/kernelupdatenotifier.cpp
==============================================================================
--- toys/kernelupdatenotifier/kernelupdatenotifier.cpp	(original)
+++ toys/kernelupdatenotifier/kernelupdatenotifier.cpp	Mon Mar 23 20:18:56 2009
@@ -21,8 +21,7 @@
 void KernelUpdateNotifier::handleRebootAction(uint action)
 {
 	KNotification *notify = (KNotification *) sender();
-	notify->close();
-	qDebug()<<"Reboot"<<action;
+	kDebug()<<"Reboot"<<action;
 	switch(action)
 	{
 		case 1:
@@ -32,7 +31,7 @@
 			KWorkSpace::requestShutDown(confirm, type, mode);
 			break;
 	}
-	qDebug()<<"Seems to be done";
+	notify->close();
 }
 
 void KernelUpdateNotifier::handleRebootActionClosed()


More information about the pld-cvs-commit mailing list