]> git.lyx.org Git - features.git/commit
Fix an infinite loop with Qt4.5 when creating two unnamed files.
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 9 Mar 2009 23:30:08 +0000 (23:30 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 9 Mar 2009 23:30:08 +0000 (23:30 +0000)
commit83dc36d66c50e9b47123a55eff101324fb20110e
tree08b71f048e956e29e4cc2dc117b6bb9a10e6aa02
parent8988dffe7ce911b6f2a6e4a739f410abe9efa1a5
Fix an infinite loop with Qt4.5 when creating two unnamed files.

In Qt4.5, QFileInfo::operator==() compares the file locations instead of the files themselves. Therefore, an extra check is needed.

see Qt4.5 documentation:
http://doc.trolltech.com/4.5/qfileinfo.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28748 a592a061-630c-0410-9148-cb99ea01b6c8
src/support/FileName.cpp