[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/unity
From: Simon Hausmann <hausmann () kde ! org>
Date: 2006-07-11 19:18:21
Message-ID: 1152645501.258534.12421.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 561282 by hausmann:
r248@rhea (orig r247): staikos | 2006-07-11 19:09:44 +0200
- no negative timers (fixes crashes)
- remove unneeded cast
_M . (directory)
M +1 -1 WebKit/WebCore/platform/qt/CanvasQt.cpp
M +1 -1 WebKit/WebCore/platform/qt/SharedTimerLinux.cpp
--- branches/work/unity/WebKit/WebCore/platform/qt/CanvasQt.cpp #561281:561282
@@ -56,7 +56,7 @@
QRect clip = ev->rect();
QPainter p(this);
GraphicsContext ctx(&p);
- static_cast<FrameView*>(m_frameView)->frame()->paint(&ctx, clip);
+ fv->frame()->paint(&ctx, clip);
}
QSize CanvasQt::sizeHint() const
--- branches/work/unity/WebKit/WebCore/platform/qt/SharedTimerLinux.cpp #561281:561282
@@ -36,7 +36,7 @@
}
void setSharedTimerFireTime(double fireTime) {
- SharedTimer::inst()->start(int(fireTime - currentTime()));
+ SharedTimer::inst()->start(qMax(0, int(fireTime - currentTime())));
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic