Build fix on ARM.
svn path=/trunk/KDE/kdelibs/; revision=1092055
This commit is contained in:
parent
d982f20609
commit
d4683537c9
@ -137,7 +137,7 @@ void PixmapTransition::updateCurrentTime(int currentTime)
|
||||
if (!m_startPixmap.isNull() && !m_targetPixmap.isNull()) {
|
||||
m_currentPixmap = Plasma::PaintUtils::transition(m_startPixmap, m_targetPixmap, delta);
|
||||
} else if (m_startPixmap.isNull()) {
|
||||
if (qFuzzyCompare(delta, 1.0)) {
|
||||
if (qFuzzyCompare(delta, qreal(1.0))) {
|
||||
m_currentPixmap = m_targetPixmap;
|
||||
return;
|
||||
}
|
||||
|
@ -857,7 +857,7 @@ void AppletHandle::setFadeAnimation(qreal progress)
|
||||
{
|
||||
m_opacity = progress;
|
||||
//kDebug() << "progress" << progress << "m_opacity" << m_opacity << m_anim << "(" << FadeIn << ")";
|
||||
if (qFuzzyCompare(progress, 1.0)) {
|
||||
if (qFuzzyCompare(progress, qreal(1.0))) {
|
||||
delete m_backgroundBuffer;
|
||||
m_backgroundBuffer = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user