From: Guillaume Munch Date: Sat, 31 Dec 2016 14:01:12 +0000 (+0100) Subject: Remove outdated comment X-Git-Tag: 2.3.0alpha1~551 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=550567d8f2a8a4444e9f4893cf3ed325a429e798;p=lyx.git Remove outdated comment UpdateToolbars is no longer slow --- diff --git a/src/frontends/qt4/TocWidget.cpp b/src/frontends/qt4/TocWidget.cpp index 1f172a1a6d..8bf753a973 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_);