File 4_1_BRANCH_r898244.diff of Package kdepim4

Index: knotes/main.cpp
===================================================================
--- knotes/main.cpp	(revision 898243)
+++ knotes/main.cpp	(revision 898244)
@@ -63,7 +63,6 @@
 
   Application app;
 
-  app.connect( &app, SIGNAL( lastWindowClosed() ), &app, SLOT( quit() ) );
 
   remove_sm_from_client_leader();
 
Index: knotes/knotesapp.cpp
===================================================================
--- knotes/knotesapp.cpp	(revision 898243)
+++ knotes/knotesapp.cpp	(revision 898244)
@@ -102,7 +102,7 @@
 {
   new KNotesAdaptor( this );
   QDBusConnection::sessionBus().registerObject( "/KNotes" , this );
-  connect( kapp, SIGNAL( lastWindowClosed() ), kapp, SLOT( quit() ) );
+  kapp->setQuitOnLastWindowClosed( false );
   
   // create the dock widget...
   m_tray = new KSystemTrayIcon();
openSUSE Build Service is sponsored by