On Mon, Jul 29, 2002 at 03:22:19PM +0100, John Levon wrote: > > std::string mystr = selectedFile().latin1(); > > Why bother ? data() is just as good ...
>From what was being said I assumed that one has to copy the content. That might be wrong, but then, who owns the 'char *' returned by latin1() and if it is the QString, what happens if it gets destroyed? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)