Fix the assert on Windows when starting LyX by double-clicking on a file.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29646 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-05-12 20:12:04 +00:00
parent 524b4157a2
commit 2f8a71056b

View File

@ -105,7 +105,7 @@ struct FileName::Private
Private(string const & abs_filename) : fi(toqstr(abs_filename))
{
name = abs_filename;
name = fromqstr(fi.absoluteFilePath());
fi.setCaching(fi.exists() ? true : false);
}
///