]> git.lyx.org Git - features.git/commit
Improve the performance of the source panel by using a QTimer.
authorGuillaume Munch <gm@lyx.org>
Fri, 31 Jul 2015 00:05:54 +0000 (01:05 +0100)
committerGuillaume Munch <gm@lyx.org>
Sat, 12 Sep 2015 23:45:41 +0000 (00:45 +0100)
commitba3e6cb2d226c670befb93d10a2b65d07aeefd2e
tree92e852a11bbfdfe2ed7df3a258d49d3b8de70019
parent4d1ad336db8a2ecc96d0dee311c3d099deb041c3
Improve the performance of the source panel by using a QTimer.

Fix bug #9493. The source panel was very slow with auto-update on. Now
we use a timer that ensures that the source is generated only at
rest. The delay is short or long depending on whether we show the
source of a paragraph or the whole source.
src/frontends/qt4/GuiViewSource.cpp
src/frontends/qt4/GuiViewSource.h