]> git.lyx.org Git - features.git/commit
Cache icons of dynamic menu buttons
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 4 May 2021 12:41:24 +0000 (14:41 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 5 May 2021 12:53:25 +0000 (14:53 +0200)
commite4b80698be91708ce1b9fd86d6032245ef4f3dc7
tree3c03330a6d8aea29fac6f957f542a0945a969371
parent5d96ee69eb9173779932575cb6d6ce70db9860b9
Cache icons of dynamic menu buttons

The current code would load the same icons again and again and LyX
memory footprint would grow.

Tentative fixe to bug #12271.
src/frontends/qt/GuiToolbar.cpp
src/frontends/qt/GuiToolbar.h
src/frontends/qt/GuiView.cpp