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

List:       kde-commits
Subject:    KDE_3_4_BRANCH: kdenetwork/kopete/kopete/contactlist
From:       Olivier Goffart <ogoffart () kde ! org>
Date:       2005-03-31 10:24:56
Message-ID: 20050331102456.691104A6 () office ! kde ! org
[Download RAW message or body]

CVS commit by ogoffart: 

Backport fix for Bug 102288: When you change the system font sizes in kcontrol, \
Kopete contact list does not pick them up until restart 


  M +2 -0      kopetegroupviewitem.cpp   1.37.4.1
  M +3 -1      kopetemetacontactlvi.cpp   1.114.2.2


--- kdenetwork/kopete/kopete/contactlist/kopetemetacontactlvi.cpp  \
#1.114.2.1:1.114.2.2 @@ -19,5 +19,4 @@
 */
 
-#include <qapplication.h>
 #include <qpainter.h>
 #include <qtimer.h>
@@ -37,4 +36,5 @@
 #include <kglobal.h>
 #include <kconfig.h>
+#include <kapplication.h>
 
 #include <kabc/addressbook.h>
@@ -275,4 +275,6 @@ void KopeteMetaContactLVI::initLVI()
                 SLOT( slotConfigChanged() ) );
 
+        connect( kapp, SIGNAL( appearanceChanged() ),  SLOT( slotConfigChanged() ) \
); +
         mBlinkTimer = new QTimer( this, "mBlinkTimer" );
         connect( mBlinkTimer, SIGNAL( timeout() ), SLOT( slotBlink() ) );

--- kdenetwork/kopete/kopete/contactlist/kopetegroupviewitem.cpp  #1.37:1.37.4.1
@@ -22,4 +22,5 @@
 #include <kiconloader.h>
 #include <kdebug.h>
+#include <kapplication.h>
 
 #include "kopetecontactlistview.h"
@@ -107,4 +108,5 @@ void KopeteGroupViewItem::initLVI()
         connect( KopetePrefs::prefs(), SIGNAL( contactListAppearanceChanged() ),
                 SLOT( slotConfigChanged() ) );
+        connect( kapp, SIGNAL( appearanceChanged() ),  SLOT( slotConfigChanged() ) \
);  
         connect( m_group, SIGNAL( iconAppearanceChanged() ), SLOT( updateIcon() ) );


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

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