Bugfix: Linux port - forgot return

This commit is contained in:
Jakub Melka 2021-10-29 19:03:00 +02:00
parent cbeb91fe18
commit 588526df6f

View File

@ -254,6 +254,7 @@ QByteArray PDFSystemFontInfoStorage::loadFont(const FontDescriptor* descriptor,
}
ReleaseDC(NULL, hdc);
return result;
#elif defined(Q_OS_UNIX)
FcPattern* p = FcPatternBuild(nullptr, FC_FAMILY, FcTypeString, fontName.constData(), nullptr);
if (!p)