From 3d18390bba247cbbc50e69dd58fec59cbb0aa352 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 5 Oct 2023 15:03:21 +0200 Subject: [PATCH] Core: Fix typo Change-Id: Ia612c40f4fddfeff97e571f27f3c498ea2ca6407 Reviewed-by: Alessandro Portale --- src/plugins/coreplugin/generalsettings.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/coreplugin/generalsettings.cpp b/src/plugins/coreplugin/generalsettings.cpp index 9ed391d99e1..1e2c5515342 100644 --- a/src/plugins/coreplugin/generalsettings.cpp +++ b/src/plugins/coreplugin/generalsettings.cpp @@ -88,7 +88,7 @@ public: void fillCodecBox() const; static QByteArray codecForLocale(); static void setCodecForLocale(const QByteArray&); - void fillToolbarSyleBox() const; + void fillToolbarStyleBox() const; static void setDpiPolicy(Qt::HighDpiScaleFactorRoundingPolicy policy); QComboBox *m_languageBox; @@ -163,7 +163,7 @@ GeneralSettingsWidget::GeneralSettingsWidget() fillLanguageBox(); fillCodecBox(); - fillToolbarSyleBox(); + fillToolbarStyleBox(); m_colorButton->setColor(StyleHelper::requestedBaseColor()); m_resetWarningsButton->setEnabled(canResetWarnings()); @@ -324,7 +324,7 @@ StyleHelper::ToolbarStyle toolbarStylefromSettings() StyleHelper::defaultToolbarStyle).toInt()); } -void GeneralSettingsWidget::fillToolbarSyleBox() const +void GeneralSettingsWidget::fillToolbarStyleBox() const { m_toolbarStyleBox->addItem(Tr::tr("Compact"), StyleHelper::ToolbarStyleCompact); m_toolbarStyleBox->addItem(Tr::tr("Relaxed"), StyleHelper::ToolbarStyleRelaxed);