--nextPart4993495.GlRYycUxVb Content-Type: multipart/mixed; boundary="Boundary-01=_9JxWHDGmxja6LYR" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_9JxWHDGmxja6LYR Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi all, Good news. Fixed. Patch attached. On KGlobalSettings we have to set the font for the toolbars in a explicit w= ay. The removed code at KToolbar is not necessary, as the code added to=20 KGlobalSettings also does that. OK to commit ? PS: To remind you the problem, it was that without this patch, if you have = for=20 instance Dolphin or KWrite running, and you go to "kcmshell4 fonts" and=20 change the font of toolbars, they are not updated. The attached patch fixes= =20 this problem. =2D-- Rafael Fern=C3=A1ndez L=C3=B3pez GPG Fingerprint: B9F4 4730 43F8 FFDD CC5E BA8E 724E 406E 3F01 D070 --Boundary-01=_9JxWHDGmxja6LYR Content-Type: text/x-diff; charset="utf-8"; name="toolbarfix.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="toolbarfix.diff" Index: kdeui/kernel/kglobalsettings.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2D-- kdeui/kernel/kglobalsettings.cpp (revisi=C3=B3n: 746393) +++ kdeui/kernel/kglobalsettings.cpp (copia de trabajo) @@ -966,6 +966,7 @@ void KGlobalSettings::Private::kdisplayS QApplication::setFont(KGlobalSettings::menuFont(), "QMenuBar"); QApplication::setFont(KGlobalSettings::menuFont(), "QPopupMenu"); QApplication::setFont(KGlobalSettings::menuFont(), "KPopupTitle"); + QApplication::setFont(KGlobalSettings::toolBarFont(), "QToolBar"); =20 #if 0 // "patch" standard QStyleSheet to follow our fonts Index: kdeui/widgets/ktoolbar.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2D-- kdeui/widgets/ktoolbar.cpp (revisi=C3=B3n: 746393) +++ kdeui/widgets/ktoolbar.cpp (copia de trabajo) @@ -199,8 +199,6 @@ void KToolBar::Private::init( bool readC parent, SLOT( slotMovableChanged( bool ) ) ); =20 parent->setAcceptDrops( true ); =2D =2D parent->setFont( KGlobalSettings::toolBarFont() ); } =20 void KToolBar::Private::getAttributes( QString &position, Qt::ToolButtonSt= yle &toolButtonStyle, int &index ) const --Boundary-01=_9JxWHDGmxja6LYR-- --nextPart4993495.GlRYycUxVb Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQBHWxKAck5Abj8B0HARAmLwAKCqn1r64qUs6vT+18YDgmj0MxeJfwCg78xo VFY8JNMwK0qPFvelXm3il4A= =oELs -----END PGP SIGNATURE----- --nextPart4993495.GlRYycUxVb--