Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit c7a310ac authored by Laurent Montel's avatar Laurent Montel 😁

Const'ify

parent 590cd3a8
......@@ -364,14 +364,15 @@ void Part::slotSettingsChanged()
Syndication::FileRetriever::setUseCache(Settings::useHTMLCache());
QStringList fonts;
fonts.append(Settings::standardFont());
fonts.append(Settings::fixedFont());
fonts.append(Settings::sansSerifFont());
fonts.append(Settings::serifFont());
fonts.append(Settings::standardFont());
fonts.append(Settings::standardFont());
fonts.append(QStringLiteral("0"));
const QStringList fonts {
Settings::standardFont(),
Settings::fixedFont(),
Settings::sansSerifFont(),
Settings::serifFont(),
Settings::standardFont(),
Settings::standardFont(),
QStringLiteral("0")
};
Settings::setFonts(fonts);
if (Settings::minimumFontSize() > Settings::mediumFontSize()) {
......
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