[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: Re: Patch: kill running jobs so that kmail exits
From: "Carsten Burghardt" <burghardt () kde ! org>
Date: 2004-04-27 13:19:04
Message-ID: 3947.149.235.78.213.1083071944.squirrel () h1979 ! serverkompetenz ! net
[Download RAW message or body]
David Faure sagte:
> Currently if you close the last kmail mainwindow and some account is still
> checking mails (e.g. the IMAP server hangs, or you're just in a hurry and
> want to
> leave soon :), the kmail process doesn't exit [until the mail check is
> over].
>
> This is because both mainwindows and jobs keep a ref() on KApplication.
> This seems wrong in KMail's context, but think about people downloading
> URLs
> in konqueror: when you close the last konqueror window, you _do_ want your
> downloads to finish before the konqueror process exits.
>
> In KMail it's different, closing the windows means that mail checking
> should stop
> (when there's no systray icon), right?
Yup, you're right.
> See attached patch.
I don't understand this (ok, I'm a bit tired...):
if ( !kmkernel->haveSystemTrayApplet() )
Why that?
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic