<div dir="ltr"><br><br><div class="gmail_quote">On Wed, Aug 20, 2008 at 12:05 AM, Thiago Macieira <span dir="ltr"><<a href="mailto:thiago@kde.org">thiago@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Remember: the only reason QFile was mentioned in this thread wasn't<br>
because of "forgetting to close". It was to encode the name properly from<br>
QString to the 8-bit format.<br>
<div></div></blockquote><div><br>Hello everyone, <br>it's a delight to read this discussion, but about the original issue, what is the conclusion I should draw now. Is the file buffer <br></div></div>also closed when the QFile leaves scope, although I fdopened it's handle? Or should I use auto_ptr with a custom delete, or should I even use a class that closes the file in its destructor? :)<br>
<br>Greetings<br>André<br></div>