┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/viewmodes/dolphinfontrequester.cpp
diff options
context:
space:
mode:
authorPan Zhang <[email protected]>2026-01-13 14:34:20 +0800
committerMéven Car <[email protected]>2026-01-20 08:17:19 +0000
commit38fb26518a14f68ce66a14a1197866fed865c430 (patch)
treed320d0e5f158413cbcb89b824f1ab0b480cb54fb /src/settings/viewmodes/dolphinfontrequester.cpp
parented63dba3c261c40b6e5920276555d8188613eae1 (diff)
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
Diffstat (limited to 'src/settings/viewmodes/dolphinfontrequester.cpp')
-rw-r--r--src/settings/viewmodes/dolphinfontrequester.cpp1
1 files changed, 0 insertions, 1 deletions
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();
}
}