mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-14 01:41:10 +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:
1 parent
14484cc67c
commit
e2f3426dc6
1 file changed
+1
-1
@@ -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