[LyX/master] Get rid of unnecessary flickering when clicking in outliner

Jean-Marc Lasgouttes lasgouttes at lyx.org
Mon Sep 18 08:57:25 UTC 2023


Le 17/09/2023 à 18:01, Juergen Spitzmueller a écrit :
> commit ac275a66b5d34e211ba6e63ea9a2d02efce7eb72
> Author: Juergen Spitzmueller <spitz at lyx.org>
> Date:   Sun Sep 17 19:17:12 2023 +0200
> 
>      Get rid of unnecessary flickering when clicking in outliner
>      
>      No need to collapse and re-expand the node where the currently selected
>      item is in.

This breaks compilation here:

../../../../master/src/frontends/qt/TocWidget.cpp: In member function 
‘void lyx::frontend::TocWidget::collapseAllOthers(int)’:
../../../../master/src/frontends/qt/TocWidget.cpp:644:12: error: ‘class 
QTreeView’ has no member named ‘expandRecursively’
   644 |     tocTV->expandRecursively(index, depth - 1);
       |            ^~~~~~~~~~~~~~~~~

QTreeView::expandRecursively has been introduces in QT 5.13.

JMarc




More information about the lyx-devel mailing list