Thank you ;-)<br><br>Greetings<br><br><br><div><span class="gmail_quote">2008/1/30, Aurélien Gâteau <<a href="mailto:aurelien.gateau@free.fr">aurelien.gateau@free.fr</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
David Faure wrote:<br><br>> On Thursday 06 December 2007, Aurélien Gâteau wrote:<br>>> Hello,<br>>><br>>> I just got bitten by this one, so I thought I'd share it with you.<br>>><br>>> If your application implements KMainWindow::queryClose() to warn the user<br>
>> about unsaved changes for example, do not connect KStandardAction::quit()<br>>> to QApplication::quit() as it would bypass the queryClose(). Instead,<br>>> connect it to QApplication::closeAllWindows().<br>
>><br>>> I had a look at my incomplete checkout of KDE and only find one mistake:<br>>> kapptemplate. Attached patch fix it. Ok to commit?<br>><br>> Yes please do.<br>><br>> (IIRC this behavior was the same in kde3, right? We didn't document it<br>
> much back then either, but I now added something to KStandardAction::quit)<br><br>Ok, done.<br><br>I haven't checked kde3 behavior, but it's a good idea to document it in the action doc.<br><br>Aurélien<br></blockquote>
</div><br>