Bug 65156

Summary: KSirc should not confirm quit on logout
Product: ksirc Reporter: Josh Berry <des>
Component: generalAssignee: Andrew Stanley-Jones <asj>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Josh Berry 2003-09-29 03:27:47 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.2.x 
OS:          Linux

KSirc should not ask the user "Are you sure you want to quit?" when the user tries to log out...and it certainly shouldn't ask twice. This gets to be very annoying after a while.
Comment 1 Andrew Stanley-Jones 2003-09-29 20:15:56 UTC
Subject: kdenetwork/ksirc

CVS commit by asj: 

No, we don't need to "Quit?" "Yes Really Quit" "Oh the app is still running, go quit again".

CCMAIL: 65156-done@bugs.kde.org
CCMAIL: mlaurent@kde.org


  M +0 -6      mditoplevel.cpp   1.35


--- kdenetwork/ksirc/mditoplevel.cpp  #1.34:1.35
@@ -6,6 +6,4 @@
 #include <kconfig.h>
 #include <kdebug.h>
-#include <kmessagebox.h>
-#include <klocale.h>
 
 #include "mditoplevel.h"
@@ -122,8 +120,4 @@ void MDITopLevel::previous()
 void MDITopLevel::closeEvent( QCloseEvent *ev )
 {
-    if( KMessageBox::warningYesNo( this, i18n( "Are you sure you want to quit?" ),
-                                   i18n("Really Quit?"),
-                                   i18n("&Quit"), i18n("&Cancel") )== KMessageBox::No )
-        return;
     m_closing = true;
     // Don't use iterators on a list while deleting elements


Comment 2 Josh Berry 2003-09-29 23:18:43 UTC
Great, thank you very much!