]> git.lyx.org Git - lyx.git/commit
Do some caching of window title and related UI
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 19 Oct 2016 09:55:08 +0000 (11:55 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 19 Oct 2016 09:59:47 +0000 (11:59 +0200)
commit6cb05ce8bb58720dfef6e5707c1f3fad3949881f
treedb0e9ba297cceaf5c40938e223551ea7ec16e49a
parenta4e7114d985640bfc5a8305d87fa7c04b18f6708
Do some caching of window title and related UI

This should avoid performance problems related to the window update machinery.
Moreover this fixes a crash introduced by 82808fea when closing a file.

Note that GuiWorkArea::Private already had a read_only_ member, but it
was unused.

Also rename LyXVC::vcname() to LyXVC::vcstatus() since it now contains
directly the UI string to be shown.
src/LyXVC.cpp
src/LyXVC.h
src/frontends/qt4/GuiView.cpp
src/frontends/qt4/GuiWorkArea.cpp
src/frontends/qt4/GuiWorkArea_Private.h