OSDN Git Service

fix: don't save favorites/cache if the user selects 'File->Quit' or press Ctrl+Q.
authorikemo <ikemo@56b19765-1e22-0410-a548-a0f45d66c51a>
Tue, 2 Dec 2003 14:41:04 +0000 (14:41 +0000)
committerikemo <ikemo@56b19765-1e22-0410-a548-a0f45d66c51a>
Tue, 2 Dec 2003 14:41:04 +0000 (14:41 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/kita/kita/trunk@594 56b19765-1e22-0410-a548-a0f45d66c51a

ChangeLog
kita/src/kita.cpp

index c3a266c..31bbcf8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2003-12-02  Hideki Ikemoto  <ikemo@users.sourceforge.jp>
 
+       * fix: don't save favorites/cache if the user selects 'File->Quit' or press Ctrl+Q.
+
+2003-12-02  Hideki Ikemoto  <ikemo@users.sourceforge.jp>
+
        * fix: make correct link when URL have port number.
        * version 0.64 released.
 
index 4e558bf..f265d2a 100644 (file)
@@ -157,7 +157,7 @@ void KitaMainWindow::load(const KURL& url)
 void KitaMainWindow::setupActions()
 {
   KStdAction::openNew(this, SLOT(fileNew()), actionCollection());
-  KStdAction::quit(kapp, SLOT(quit()), actionCollection());
+  KStdAction::quit( this, SLOT( close() ), actionCollection());
   KStdAction::copy( this, SLOT( slotEditCopy() ), actionCollection() );
 
   m_toolbarAction = KStdAction::showToolbar(this,