From 38fb26518a14f68ce66a14a1197866fed865c430 Mon Sep 17 00:00:00 2001 From: Pan Zhang Date: Tue, 13 Jan 2026 14:34:20 +0800 Subject: dolphinfontrequester: Do not apply custom view font to font mode combobox When a user selects a custom font via the font dialog, the font mode combobox (showing System Font / Custom Font) was updated to use the selected font. This caused an unintended visual inconsistency, as configuration UI elements should always be rendered using the system application font, independent of the font chosen for the content view. Fix this by removing the setFont() call in openFontDialog(), ensuring the combobox remains visually consistent with the rest of the configuration interface. BUG: 499783 --- src/settings/viewmodes/dolphinfontrequester.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/settings/viewmodes/dolphinfontrequester.cpp b/src/settings/viewmodes/dolphinfontrequester.cpp index 699df6f51..40b913631 100644 --- a/src/settings/viewmodes/dolphinfontrequester.cpp +++ b/src/settings/viewmodes/dolphinfontrequester.cpp @@ -76,7 +76,6 @@ void DolphinFontRequester::openFontDialog() const QFont font = QFontDialog::getFont(&ok, initialFont, this); if (ok) { m_customFont = font; - m_modeCombo->setFont(m_customFont); Q_EMIT changed(); } } -- cgit v1.3