Usual ARM compilation fixes.

svn path=/trunk/KDE/kdelibs/; revision=1140767
This commit is contained in:
Alexis Ménard 2010-06-21 13:17:45 +00:00
parent 79e61661e7
commit c6a70060ed

View File

@ -134,7 +134,7 @@ void RippleEffect::draw(QPainter *painter)
}
int x, y;
if (qFuzzyCompare(m_opacity, 0.0)) {
if (qFuzzyCompare(m_opacity, qreal(0.0))) {
for (x = 0; x < currentImage.width(); ++x) {
memset(m_currentMap[x], 0, sizeof(int) * currentImage.height());
memset(m_previousMap[x], 0, sizeof(int) * currentImage.height());