From: Thomas Braun <braun@ph...> - 2007-04-09 20:12:17
I encountered some problems in cleanUpTempFiles (which did not work since half a
year) with my new proposed textinfo::url() implementaion.
In fileclose() after calling doc->closeURL() we still have a valid doc but
doc->url() is empty therefore docinfo->url() is also empty.
I avoided this problem by some restrukturing of cleanUpTempFiles, which now
takes an url as argument and not a docinfo.
From: Michel Ludwig <michel.ludwig@kd...> - 2007-04-10 16:12:41
On Mon 09 Apr 2007, Thomas Braun wrote:
> and the attachement ...
> Index: kile.cpp
> --- kile.cpp (Revision 651998)
> +++ kile.cpp (Arbeitskopie)
> @@ -1570,7 +1570,7 @@
> - if (docinfo) docManager()->cleanUpTempFiles(docinfo, false);
> + if (docinfo) docManager()->cleanUpTempFiles(docinfo->url().path(), false); }
It seems to me that "docinfo->url().path()" is unnecessary here, but otherwise it looks good.