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

List:       kde-bugs-dist
Subject:    [Bug 63768] font updated when control center fonts are changed even
From:       Andrew Stanley-Jones <asj () cban ! com>
Date:       2003-11-08 1:49:23
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=63768     
asj@cban.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From asj@cban.com  2003-11-08 02:49 -------
Subject: kdenetwork/ksirc

CVS commit by asj: 

Fix bug

CCMAIL: 63768-done@bugs.kde.org


  M +9 -2      toplevel.cpp   1.304


--- kdenetwork/ksirc/toplevel.cpp  #1.303:1.304
@@ -99,4 +99,10 @@ KSircTopLevel::initColors()
   cg_mainw.setColor(QColorGroup::Foreground, ksopts->textColor);
   ksTopic->setPalette(QPalette(cg_mainw,cg_mainw, cg_mainw));
+  selector->setFont( ksopts->defaultFont.family() );
+  mainw->setFont( ksopts->defaultFont );
+  nicks->setFont( ksopts->defaultFont );
+  linee->setFont( ksopts->defaultFont );
+  ksTopic->setFont( ksopts->defaultFont );
+
 }
 
@@ -1578,5 +1584,6 @@ void KSircTopLevel::toggleRootWindow()
 bool KSircTopLevel::event( QEvent *e)
 {
-    if(e->type() == QEvent::ApplicationPaletteChange)
+    if(e->type() == QEvent::ApplicationPaletteChange ||
+       e->type() == QEvent::ApplicationFontChange)
     {
         QTimer::singleShot(750, this, SLOT(initColors()));
[prev in list] [next in list] [prev in thread] [next in thread] 

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