MiniQtHelper: fix the bug in SetWidgetFont() while setting the font face

Signed-off-by: Artur Wojcik <artur.wojcik@amd.com>
This commit is contained in:
Artur Wojcik
2022-11-15 18:54:28 +01:00
committed by Baldur Karlsson
parent 14484cc67c
commit e2f3426dc6
+1 -1
View File
@@ -419,7 +419,7 @@ void MiniQtHelper::SetWidgetFont(QWidget *widget, const rdcstr &font, int32_t fo
QFont f = widget->font();
if(font.empty())
if(!font.empty())
f.setFamily(font);
if(fontSize != 0)
f.setPointSize(fontSize);