[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    smallestReadableFont & QDockWidget
From:       Pascal =?iso-8859-1?q?L=E9tourneau?= <pascal.letourneau () gmail ! com>
Date:       2007-08-30 19:03:27
Message-ID: 200708301503.27954.pascal.letourneau () gmail ! com
[Download RAW message or body]

Hi

The smallestReadableFont setting is apply blindly to every QDockWidget
(for example, the Folders panel in Dolphin)
I think it would be better if each app decides where it is appropriate to use 
this setting

Pascal Létourneau

Index: kglobalsettings.cpp
===================================================================
--- kglobalsettings.cpp (revision 706517)
+++ kglobalsettings.cpp (working copy)
@@ -938,7 +938,6 @@ void KGlobalSettings::kdisplaySetFont()
         QApplication::setFont(KGlobalSettings::menuFont(), "QMenuBar");
         QApplication::setFont(KGlobalSettings::menuFont(), "QPopupMenu");
         QApplication::setFont(KGlobalSettings::menuFont(), "KPopupTitle");
-        QApplication::setFont(smallestReadableFont(), "QDockWidget");

 #if 0
         // "patch" standard QStyleSheet to follow our fonts

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic