File r900867.diff of Package kdepim4

Subject: kalarm: correct system tray icon parent
From: wstephenson@suse.de
Bug: 
Patch-upstream: 900867
--- kalarm/kalarmapp.cpp	(revision 900866)
+++ kalarm/kalarmapp.cpp	(revision 900867)
@@ -1038,6 +1038,9 @@ bool KAlarmApp::displayTrayIcon(bool sho
 				return false;
 			if (!MainWindow::count())
 			{
+				// We have to have at least one main window to act
+				// as parent to the system tray icon (even if the
+				// window is hidden).
 				creating = true;    // prevent main window constructor from creating an additional tray icon
 				parent = MainWindow::create();
 				creating = false;
Index: kalarm/kalarmapp.cpp
===================================================================
openSUSE Build Service is sponsored by