Utils: Fix function name case StyleHelper::Uifont -> uifont

Oopsie.

Change-Id: I66c4b56f43c50e3dfc5c17ffd95d778d496b77f2
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Alessandro Portale
2023-12-06 13:02:09 +01:00
parent a737ddd931
commit a4a27b8931
19 changed files with 30 additions and 30 deletions

View File

@@ -68,7 +68,7 @@ QSize FancyTabBar::tabSizeHint(bool minimum) const
Core::Constants::MODEBAR_ICONSONLY_BUTTON_SIZE / (minimum ? 3 : 1)};
}
const QFont boldFont = StyleHelper::UiFont(StyleHelper::UiElementCaptionStrong);
const QFont boldFont = StyleHelper::uiFont(StyleHelper::UiElementCaptionStrong);
const QFontMetrics fm(boldFont);
const int spacing = 8;
const int width = 60 + spacing + 2;
@@ -283,7 +283,7 @@ static void paintIconAndText(QPainter *painter, const QRect &rect,
const QIcon &icon, const QString &text,
bool enabled, bool selected)
{
const QFont boldFont = StyleHelper::UiFont(StyleHelper::UiElementCaptionStrong);
const QFont boldFont = StyleHelper::uiFont(StyleHelper::UiElementCaptionStrong);
painter->setFont(boldFont);
const bool drawIcon = rect.height() > 36;