commit 550567d8f2a8a4444e9f4893cf3ed325a429e798
Author: Guillaume Munch <g...@lyx.org>
Date:   Sat Dec 31 15:01:12 2016 +0100

    Remove outdated comment
    
    UpdateToolbars is no longer slow
---
 src/frontends/qt4/TocWidget.cpp |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/frontends/qt4/TocWidget.cpp b/src/frontends/qt4/TocWidget.cpp
index 1f172a1..8bf753a 100644
--- a/src/frontends/qt4/TocWidget.cpp
+++ b/src/frontends/qt4/TocWidget.cpp
@@ -450,10 +450,8 @@ void TocWidget::updateViewNow()
 void TocWidget::finishUpdateView()
 {
        // Profiling shows that this is the expensive stuff in the context of 
typing
-       // text and moving with arrows (still five times less than 
updateToolbars in
-       // my tests with a medium-sized document, however this grows linearly 
in the
-       // size of the document). For bigger operations, this is negligible, and
-       // outweighted by TocModels::reset() anyway.
+       // text and moving with arrows. For bigger operations, this is 
negligible,
+       // and outweighted by TocModels::reset() anyway.
        if (canNavigate()) {
                if (!persistent_)
                        setTreeDepth(depth_);

Reply via email to