mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-30 01:38:07 +00:00
reduce the critical section
svn path=/trunk/KDE/kdegraphics/okular/; revision=685277
This commit is contained in:
parent
8a31e6f3f0
commit
97f781ff31
1 changed files with 1 additions and 1 deletions
|
@ -647,8 +647,8 @@ Okular::FontInfo::List PDFGenerator::fontsForPage( int /*page*/ )
|
|||
{
|
||||
Okular::FontInfo::List list;
|
||||
|
||||
docLock.lock();
|
||||
QList<Poppler::FontInfo> fonts;
|
||||
docLock.lock();
|
||||
pdfdoc->scanForFonts( 1, &fonts );
|
||||
docLock.unlock();
|
||||
|
||||
|
|
Loading…
Reference in a new issue