diff --git a/src/settings/dolphin_compactmodesettings.kcfg b/src/settings/dolphin_compactmodesettings.kcfg
index b9000c8e21..93f9947aba 100644
--- a/src/settings/dolphin_compactmodesettings.kcfg
+++ b/src/settings/dolphin_compactmodesettings.kcfg
@@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
- kglobalsettings.h
+ QFontDatabase
kiconloader.h
@@ -14,11 +14,11 @@
- KGlobalSettings::generalFont().family()
+ QFontDatabase::systemFont(QFontDatabase::GeneralFont).family()
- KGlobalSettings::generalFont().pointSizeF()
+ QFontDatabase::systemFont(QFontDatabase::GeneralFont).pointSizeF()
diff --git a/src/settings/dolphin_detailsmodesettings.kcfg b/src/settings/dolphin_detailsmodesettings.kcfg
index 64e99898ac..e9a8fb28d2 100644
--- a/src/settings/dolphin_detailsmodesettings.kcfg
+++ b/src/settings/dolphin_detailsmodesettings.kcfg
@@ -5,12 +5,12 @@
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
kiconloader.h
- kglobalsettings.h
+ QFontDatabase
- KGlobalSettings::generalFont().family()
+ QFontDatabase::systemFont(QFontDatabase::GeneralFont).family()
@@ -18,7 +18,7 @@
- KGlobalSettings::generalFont().pointSizeF()
+ QFontDatabase::systemFont(QFontDatabase::GeneralFont).pointSizeF()
diff --git a/src/settings/dolphin_iconsmodesettings.kcfg b/src/settings/dolphin_iconsmodesettings.kcfg
index 52cd9a28c3..9b286d1391 100644
--- a/src/settings/dolphin_iconsmodesettings.kcfg
+++ b/src/settings/dolphin_iconsmodesettings.kcfg
@@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
- kglobalsettings.h
+ QFontDatabase
kiconloader.h
@@ -14,11 +14,11 @@
- KGlobalSettings::generalFont().family()
+ QFontDatabase::systemFont(QFontDatabase::GeneralFont).family()
- KGlobalSettings::generalFont().pointSizeF()
+ QFontDatabase::systemFont(QFontDatabase::GeneralFont).pointSizeF()