Commit bde91a0a authored by Ahmad Samir's avatar Ahmad Samir

[Fonts KCM] Remove last remnants of setNearestExistingFonts()

Summary: This cleans up after commit 0325d698.

Test Plan: make && ctest

Reviewers: #plasma, bport, broulik, ngraham

Reviewed By: ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D29710
parent 8670d91a
......@@ -121,7 +121,8 @@ void KFonts::load()
// previews
engine()->addImageProvider("preview", new PreviewImageProvider(m_settings->font()));
// KCM expect save state to be false at this point (can be true because of setNearestExistingFonts
// KCM expect save state to be false at this point (can be true because if a font setting loaded
// from the config isn't available on the system, font substitution may take place)
setNeedsSave(false);
}
......
......@@ -78,7 +78,6 @@ Q_SIGNALS:
private:
QFont applyFontDiff(const QFont &fnt, const QFont &newFont, int fontDiffFlags);
void setNearestExistingFonts();
FontsSettings *m_settings;
FontsAASettings *m_settingsAA;
......
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