From f6836998f016628932981f6c9655904defa610a0 Mon Sep 17 00:00:00 2001 From: CodingJellyfish Date: Mon, 22 Apr 2024 10:56:01 +0800 Subject: [PATCH] Use a better setOverrideFont in ribbon widget --- src/guiengine/widgets/ribbon_widget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/guiengine/widgets/ribbon_widget.cpp b/src/guiengine/widgets/ribbon_widget.cpp index 4c4358d62..a252ecc33 100644 --- a/src/guiengine/widgets/ribbon_widget.cpp +++ b/src/guiengine/widgets/ribbon_widget.cpp @@ -896,7 +896,7 @@ void RibbonWidget::resize() } else { - label->setOverrideFont(GUIEngine::getFont()); + label->setOverrideFont(NULL); } } else @@ -980,7 +980,7 @@ void RibbonWidget::resize() } else { - label->setOverrideFont(GUIEngine::getFont()); + label->setOverrideFont(NULL); } } else