Le 15/12/2015 18:40, Scott Kostyshak a écrit : > On Fri, Dec 11, 2015 at 04:45:41PM +0100, Jean-Marc Lasgouttes wrote: >> >> It turns out that there was a bad bug in f3cdf74e68bd : this commit >> introduced a static variable used as a cache. This is a bad idea for >> QObjects, as explained in the commit log of patch below. >> >> Comments welcome. > > I do not understand it well but I would say please commit.
I pushed it to master. The patch is not complicated: it replaces a static variable by a GuiFontMetrics member variable, so that it is properly cleaned up on exit. Most of the patch is just renaming of variables. JMarc