smallestReadableFont & QDockWidget

Pascal Létourneau pascal.letourneau at gmail.com
Thu Aug 30 20:03:27 BST 2007


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




More information about the kde-core-devel mailing list