mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
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:
committed by
Baldur Karlsson
parent
14484cc67c
commit
e2f3426dc6
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user