Summary: | Qtrl+Q must QUIT the application and not hide it to system tray icon | ||
---|---|---|---|
Product: | [Applications] kgpg | Reporter: | Sebastien <slaout> |
Component: | general | Assignee: | bj |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandrake RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Sebastien
2004-03-22 01:09:29 UTC
I can only confirm this and would appreciate if it gets fixed in KDE 3.2.2. ...maybe I have to add that im using KDE 3.2.1, compiled from source using GCC 3.3.2 (Gentoo Linux). Sorry, I forgot about that. CVS commit by mardelle: Ctrl-Q exits app instead of closing main window CCMAIL: 78178-done@bugs.kde.org M +1 -1 kgpgeditor.cpp 1.36 M +8 -2 listkeys.cpp 1.184 M +1 -0 listkeys.h 1.81 --- kdeutils/kgpg/kgpgeditor.cpp #1.35:1.36 @@ -129,5 +129,5 @@ void KgpgApp::slotFileQuit() { saveOptions(); - close(); + exit(1); } --- kdeutils/kgpg/listkeys.cpp #1.183:1.184 @@ -513,5 +513,4 @@ listKeys::listKeys(QWidget *parent, cons keysList2->groupNb=0; - setAutoSaveSettings(); readOptions(); @@ -539,5 +538,5 @@ listKeys::listKeys(QWidget *parent, cons (void) new KAction(i18n("&Go to Default Key"), "gohome",QKeySequence(CTRL+Qt::Key_Home) ,this, SLOT(slotGotoDefaultKey()),actionCollection(),"go_default_key"); - KStdAction::quit(this, SLOT(annule()), actionCollection()); + KStdAction::quit(this, SLOT(quitApp()), actionCollection()); KStdAction::find(this, SLOT(findKey()), actionCollection()); KStdAction::findNext(this, SLOT(findNextKey()), actionCollection()); @@ -683,4 +682,6 @@ listKeys::listKeys(QWidget *parent, cons if (!KGpgSettings::showToolbar()) toolBar()->hide(); + + setAutoSaveSettings(); } @@ -1319,4 +1320,9 @@ void listKeys::annule() } +void listKeys::quitApp() +{ + ///////// close window + exit(1); +} void listKeys::readOptions() --- kdeutils/kgpg/listkeys.h #1.80:1.81 @@ -219,4 +219,5 @@ public slots: private slots: + void quitApp(); void slotOpenEditor(); void keyFilter( const QString &filterStr); |