diff options
Diffstat (limited to 'pkgs/desktops/plasma-5/plasma-integration/D9070.patch')
-rw-r--r-- | pkgs/desktops/plasma-5/plasma-integration/D9070.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/pkgs/desktops/plasma-5/plasma-integration/D9070.patch b/pkgs/desktops/plasma-5/plasma-integration/D9070.patch deleted file mode 100644 index 66fef4712a7b..000000000000 --- a/pkgs/desktops/plasma-5/plasma-integration/D9070.patch +++ /dev/null @@ -1,24 +0,0 @@ -Index: src/platformtheme/kfontsettingsdata.cpp -=================================================================== ---- src/platformtheme/kfontsettingsdata.cpp -+++ src/platformtheme/kfontsettingsdata.cpp -@@ -70,15 +70,18 @@ - const KFontData &fontData = DefaultFontData[fontType]; - cachedFont = new QFont(QLatin1String(fontData.FontName), fontData.Size, fontData.Weight); - cachedFont->setStyleHint(fontData.StyleHint); -- cachedFont->setStyleName(QLatin1String(fontData.StyleName)); - - const KConfigGroup configGroup(mKdeGlobals, fontData.ConfigGroupKey); - QString fontInfo = configGroup.readEntry(fontData.ConfigKey, QString()); - - //If we have serialized information for this font, restore it - //NOTE: We are not using KConfig directly because we can't call QFont::QFont from here - if (!fontInfo.isEmpty()) { - cachedFont->fromString(fontInfo); -+ } else { -+ // set the canonical stylename here, where it cannot override -+ // user-specific font attributes if those do not include a stylename. -+ cachedFont->setStyleName(QLatin1String(fontData.StyleName)); - } - - mFonts[fontType] = cachedFont; |