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 authored and Baldur Karlsson committed 2022-11-15 19:56:25 +01:00
1 parent 14484cc67c
commit e2f3426dc6
1 file changed
+1 -1
+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);