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

@@ -181,9 +181,9 @@ void FancyToolButton::paintEvent(QPaintEvent *event)
const bool isTitledAction = defaultAction() && defaultAction()->property("titledAction").toBool();
// draw popup texts
if (isTitledAction && !m_iconsOnly) {
const QFont normalFont = StyleHelper::UiFont(StyleHelper::UiElementCaption);
const QFont normalFont = StyleHelper::uiFont(StyleHelper::UiElementCaption);
QRect centerRect = rect();
const QFont boldFont = StyleHelper::UiFont(StyleHelper::UiElementCaptionStrong);
const QFont boldFont = StyleHelper::uiFont(StyleHelper::UiElementCaptionStrong);
const QFontMetrics fm(normalFont);
const QFontMetrics boldFm(boldFont);
const int lineHeight = boldFm.height();
@@ -284,7 +284,7 @@ QSize FancyToolButton::sizeHint() const
QSizeF buttonSize = iconSize().expandedTo(QSize(64, 38));
if (defaultAction() && defaultAction()->property("titledAction").toBool()) {
const QFont boldFont = StyleHelper::UiFont(StyleHelper::UiElementCaptionStrong);
const QFont boldFont = StyleHelper::uiFont(StyleHelper::UiElementCaptionStrong);
const QFontMetrics fm(boldFont);
const qreal lineHeight = fm.height();
const int extraHeight = 10 // Spacing between top and projectName