[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdetoys/amor
From: Gerardo Puga <gpuga () gioia ! ing ! unlp ! edu ! ar>
Date: 2004-03-10 23:38:29
Message-ID: 20040310233829.B3EA390C5 () office ! kde ! org
[Download RAW message or body]
CVS commit by gpuga:
Fixed bug 67575, which caused caused amor to use 100% of the cpu time when a static \
animation went to sleep.
M +5 -4 amor.cpp 1.36
--- kdetoys/amor/amor.cpp #1.35:1.36
@@ -94,5 +94,5 @@ QueueItem::QueueItem(itemType ty, QStrin
{
#ifdef DEBUG_AMOR
- kdDebug(15000) << "QueueItem::QueueItem(): Malformed HTML!" << endl;
+ kdDebug(10000) << "QueueItem::QueueItem(): Malformed HTML!" << endl;
#endif
effectiveLength = te.length();
@@ -659,5 +660,5 @@ void Amor::slotTimeout()
if (mTheme.isStatic())
- mTimer->start(mState == Normal ? 10000 : 0, true);
+ mTimer->start((mState == Normal) || (mState == Sleeping) ? 1000 : 100, \
true); else
mTimer->start(mCurrAnim->delay(), true);
@@ -936,5 +937,5 @@ void Amor::slotBubbleTimeout()
QueueItem *first = mTipsQueue.head();
#ifdef DEBUG_AMOR
- if (!first) kdDebug(15000) << "Amor::slotBubbleTimeout(): empty queue!" << endl;
+ if (!first) kdDebug(10000) << "Amor::slotBubbleTimeout(): empty queue!" << endl;
#endif
if ((first->time() > BUBBLE_TIME_STEP) && (mBubble->isVisible()))
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic