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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/clock
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2007-08-05 8:59:47
Message-ID: 1186304387.275997.3317.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 696574 by aseigo:

avoid some unecessary calls


 M  +0 -2      clock.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/clock/clock.cpp #696573:696574
@@ -79,7 +79,6 @@
     if (formFactor() == Plasma::Planar ||
         formFactor() == Plasma::MediaCenter) {
         m_size = m_theme->size();
-        update();
     } else {
         QFontMetrics fm(QApplication::font());
         m_size = QSizeF(fm.width("00:00:00") * 1.2, fm.height() * 1.5);
@@ -161,7 +160,6 @@
 
     dataEngine("time")->connectSource(m_timezone, this);
     constraintsUpdated();
-    cg.config()->sync();
 }
 
 Clock::~Clock()
[prev in list] [next in list] [prev in thread] [next in thread] 

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