mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
unlock face regardless if the face pointer is valid in QFontEngineFT::glyphCount()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
80652bfdb1
commit
6717f4a716
1 changed files with 1 additions and 1 deletions
|
@ -1461,8 +1461,8 @@ int QFontEngineFT::glyphCount() const
|
|||
FT_Face face = lockFace();
|
||||
if (face) {
|
||||
count = face->num_glyphs;
|
||||
unlockFace();
|
||||
}
|
||||
unlockFace();
|
||||
return count;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue