Index: ksystemtray.cpp
===================================================================
RCS file: /home/kde/kdelibs/kdeui/ksystemtray.cpp,v
retrieving revision 1.20
diff -u -U5 -r1.20 ksystemtray.cpp
--- ksystemtray.cpp	2002/04/11 01:05:13	1.20
+++ ksystemtray.cpp	2002/06/14 08:36:44
@@ -63,16 +63,15 @@
 {
     if ( !hasQuit ) {
 	menu->insertSeparator();
 	if ( parentWidget() ) {
 	    minimizeRestoreId = menu->insertItem(i18n("Minimize"), this, SLOT( toggleMinimizeRestore() ) );
-	    menu->insertItem(SmallIcon("exit"), i18n("&Quit"), parentWidget(), SLOT(close() ) );
 	}
 	else {
 	    minimizeRestoreId = -1;
-	    menu->insertItem(SmallIcon("exit"), i18n("&Quit"), qApp, SLOT(closeAllWindows() ) );
 	}
+	menu->insertItem(SmallIcon("exit"), i18n("&Quit"), qApp, SLOT(quit()) );
 	hasQuit = 1;
     }
 }
 
 void KSystemTray::enterEvent( QEvent* )
