LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kdebase-fedora-change-fonts-defaults.patch of Package kdebase3 (Project openSUSE:Factory)

From d54512417f8f4fed0992544ba6fa2d07b88cb3e7 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Ozan=20=C3=87a=C4=9Flayan?= <ozan@pardus.org.tr>
Date: Mon, 27 Jun 2011 06:15:33 +0000
Subject: [PATCH] kcontrol/fonts: [Fedora] Change kxftconfig defaults

---
 kcontrol/fonts/kxftconfig.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kcontrol/fonts/kxftconfig.h b/kcontrol/fonts/kxftconfig.h
index 6828f1d..527f64a 100644
--- a/kcontrol/fonts/kxftconfig.h
+++ b/kcontrol/fonts/kxftconfig.h
@@ -108,7 +108,7 @@ class KXftConfig
 #else
         SubPixel(Type t=None, char *s=NULL, char *e=NULL) : Item(s, e), type(t) {}
 #endif
-        void reset() { Item::reset(); type=None; }
+        void reset() { Item::reset(); type=Rgb; }
 
         Type type;
     };
@@ -142,7 +142,7 @@ class KXftConfig
         Hint(Style s, QDomNode &n) : Item(n), style(s) {}
         Hint(Style s=NotSet)       : style(s)          {}
 
-        void reset() { Item::reset(); style=NotSet; }
+        void reset() { Item::reset(); style=Full; }
 
         Style style;
     };
-- 
1.6.1