Commit 89a17cba authored by Jekyll Wu's avatar Jekyll Wu
Browse files

Use customized caption "Select Fixed With Font" for the KFontDialog

The idea is to give users better hint that Konsole requires fixed-width font,
so only valid fixed-width fonts are listed. That should help reducing the
common question: "Why font <xyz> is not listed in konsole?"
parent 2a92a3a7
......@@ -1153,6 +1153,7 @@ void EditProfileDialog::showFontDialog()
QFont currentFont = _ui->fontPreviewLabel->font();
QWeakPointer<KFontDialog> dialog = new KFontDialog(this, KFontChooser::FixedFontsOnly);
dialog.data()->setCaption(i18n("Select Fixed With Font"));
dialog.data()->setFont(currentFont, true);
// TODO (hindenburg): When https://git.reviewboard.kde.org/r/103357 is
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment