]> git.lyx.org Git - features.git/commit
Fix crash with old versions (earlier than 2.2.92) of fontconfig.
authorEnrico Forestieri <forenr@lyx.org>
Wed, 12 Sep 2007 19:07:22 +0000 (19:07 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Wed, 12 Sep 2007 19:07:22 +0000 (19:07 +0000)
commite5cb4fc10f104eea433a08087c7d91b97c74dc7c
tree9e8f4e96c0ec84742e26bb14cbd0ddfd1ed0b41a
parent7eec20e0e168db6dfd09106b74632ea28ce0f63c
Fix crash with old versions (earlier than 2.2.92) of fontconfig.

* src/frontends/qt4/GuiFontLoader.{cpp,h}
(GuiFontLoader::GuiFontLoader): don't store font IDs anymore,
as we are not going to clean up after ourselves.
(GuiFontLoader::~GuiFontLoader): make it virtual again and
do nothing (avoids a crash with fontconfig < 2.2.92).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20246 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/GuiFontLoader.cpp
src/frontends/qt4/GuiFontLoader.h