Bug 65156 - KSirc should not confirm quit on logout
Summary: KSirc should not confirm quit on logout
Status: RESOLVED FIXED
Alias: None
Product: ksirc
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Andrew Stanley-Jones
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-29 03:27 UTC by Josh Berry
Modified: 2003-09-29 23:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!