On Sun, Feb 8, 2009 at 6:55 AM, D. Michael McIntyre
<[email protected]> wrote:
> $PWD gets littered with files like:
>
> autoSaveFileNameTemp_..J19716

Is this in the qt4 branch?  Not qt4-graphicsview?  I fixed a problem
like this in qt4, but (as with any other fixes I've made in that
branch) I haven't pushed the fix over to the graphicsview branch.

The way to get a filename to auto-save to in the qt4 code is to use
Rosegarden::AutoSaveFinder, located in gui/general:

QString autoSaveName = AutoSaveFinder().getAutoSavePath(myFileName);

The rules for generating the autosave filename are actually totally
different (as it stands now) from the old code, but it certainly
doesn't involve anything saying "autoSaveFileNameTemp".

There did still seem to be one place in the qt4 branch until recently
(in RosegardenGUIDoc or App or somewhere) that was using a hard-coded
random filename like the one you just mentioned, but I thought I had
converted that one to AutoSaveFinder as well a few weeks ago.


Chris

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to