[Kbabel] bugfix for KBabel
Nicolas Goutte
nicolasg at snafu.de
Wed Aug 31 13:56:45 CEST 2005
On Wednesday 31 August 2005 13:38, Nicolas Goutte wrote:
> On Wednesday 31 August 2005 05:15, Jens Herden wrote:
> > Hi,
> >
> > here is a patch for http://bugs.kde.org/show_bug.cgi?id=110981 and
> > another bug I found during test:
> > if a po file is changed in memory but not saved yet the syntax check
> > fails because the created temp file got a wrong filename that prevents
> > the mime detection from selecting the correct plugin.
> >
> > Please review, if nobody has objectives I will commit this soon so that
> > it goes in KDE 3.5
>
> Unlinking the KTempfile is not much secure.
>
> I think the real solution would be to use something else than
> KMimeType::findByURL
Or perhaps still use it but if it returns a generic mime type, try to get the
mime type by other means.
>
> Have a nice day!
>
> > Oh and what about backporting this to 3.4?
> >
> > Jens
>
> _______________________________________________
> kbabel mailing list
> kbabel at kde.org
> https://mail.kde.org/mailman/listinfo/kbabel
More information about the kbabel
mailing list