Commit 454062e9 authored by Nate Graham's avatar Nate Graham
Browse files

Fix broken commit to fix build

(cherry picked from commit 7949a4c7)
parent ed60574f
......@@ -26,6 +26,7 @@
#include "themesmodel.h"
#include "usersmodel.h"
#include <QApplication>
#include <QDir>
#include <KAboutData>
......@@ -189,7 +190,7 @@ void SddmKcm::synchronizeSettings()
// Syncing the font only works with SDDM >= 0.19, but will not have a negative effect with older versions
KConfig plasmaFontConfig(QStringLiteral("kdeglobals"));
KConfigGroup plasmaFontGroup(&plasmaFontConfig, "General");
QString plasmaFont = plasmaFontGroup.readEntry("font", QApplication::font()toString());
QString plasmaFont = plasmaFontGroup.readEntry("font", QApplication::font().toString());
// define paths
const QString fontconfigPath = QStandardPaths::locate(QStandardPaths::GenericConfigLocation, QStringLiteral("fontconfig"), QStandardPaths::LocateDirectory);
Supports Markdown
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