]> git.lyx.org Git - features.git/commit
Make BufferList::fileNames() threadsafe
authorGeorg Baum <baum@lyx.org>
Mon, 7 Jul 2014 20:05:10 +0000 (22:05 +0200)
committerGeorg Baum <baum@lyx.org>
Mon, 7 Jul 2014 20:05:10 +0000 (22:05 +0200)
commit2fe650f77f520b31e6e0517eae39d874eeec53a6
tree1ea674d8b9790c05c463facea0b67e25bb75cdf1
parentfc3183a762c0f869b71f504c958bd646b7be85af
Make BufferList::fileNames() threadsafe

Using a static variable here was premature optimization: fileNames() is only
called from GuiRef (directly or indirectly), and since this is a dialog the
copying of a FileNameList is not noticeable at all.
src/BufferList.cpp
src/BufferList.h
src/frontends/qt4/GuiRef.cpp