Re: bugfix for KBabel

Nicolas Goutte <[email protected]> Thu, 1 Sep 2005 20:11:40 +0200
Newsgroups gmane.comp.kde.devel.kbabel
Message-ID <[email protected]>
On Thursday 01 September 2005 16:07, Jens Herden wrote:
> Hello Nicolas,
(...)
>
> > > > I think the real solution would be to use something else than
> > > > KMimeType::findByURL
> > >
> > > How? The file is not written to the disk yet, so we can not analyse the
> > > content.
> >
> > For example, the file was read once (as KBabel cannot create new files).
> >
> > > Can we use KMimeType::findByURL on the url that is in the private data?
> > > Then I would not need to pass the url as parameter at all and the
> > > filename of the temp file would not be important.
> >
> > You seems to have found the answer yourself . ;-)
> >
> :-)
>
> So shall I commit the patch then?

Sorry; i still do not know well the interna of KBabel, so I cannot decide. (So 
perhaps I can tell when something is wrong, but I cannot definively tell that 
something is right.)

Have a nice day!

>
> Jens