[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/utils/charm/trunk/Charm
From: David Faure <faure () kde ! org>
Date: 2009-01-13 12:51:03
Message-ID: 1231851063.591850.4806.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 910491 by dfaure:
Use 5% CPU for the animation, rather than 20% CPU...
M +1 -1 TimeTrackingSummaryWidget.cpp
--- trunk/playground/utils/charm/trunk/Charm/TimeTrackingSummaryWidget.cpp #910490:910491
@@ -46,7 +46,7 @@
m_taskSelector.setText( tr( "Select Task" ) );
m_pulse.setLoopCount( 0 );
m_pulse.setDuration( 2000 );
- // m_pulse.setUpdateInterval( 80 );
+ m_pulse.setUpdateInterval( 160 ); // any smaller value uses too much cpu
m_pulse.setCurveShape( QTimeLine::SineCurve );
connect( &m_pulse, SIGNAL( valueChanged( qreal ) ),
SLOT( slotPulseValueChanged( qreal ) ) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic