SVN: toys/kernelupdatenotifier/kernelupdatenotifier.cpp

shadzik shadzik at pld-linux.org
Fri Aug 7 18:18:18 CEST 2009


Author: shadzik
Date: Fri Aug  7 18:18:16 2009
New Revision: 10457

Modified:
   toys/kernelupdatenotifier/kernelupdatenotifier.cpp
Log:
- persistent notification works as of kde 4.3


Modified: toys/kernelupdatenotifier/kernelupdatenotifier.cpp
==============================================================================
--- toys/kernelupdatenotifier/kernelupdatenotifier.cpp	(original)
+++ toys/kernelupdatenotifier/kernelupdatenotifier.cpp	Fri Aug  7 18:18:16 2009
@@ -44,8 +44,7 @@
 
 void KernelUpdateNotifier::sendNotify(const QString &version)
 {
-	//KNotification::Persistent - still doesn't work in 4.2
-	KNotification *notify = new KNotification("KernelWasUpgraded", 0, KNotification::CloseOnTimeout);
+	KNotification *notify = new KNotification("KernelWasUpgraded", 0, KNotification::Persistent);
 
 	QString text;
 	text =  i18n("The Kernel was upgraded to version:") + "<br/>";


More information about the pld-cvs-commit mailing list