Fix ambiguity of qFuzzyCompare on armv6
PR: 217080 Submitted by: Mikaël Urankar <mikael.urankar@gmail.com>
This commit is contained in:
parent
26c4bf75ce
commit
b2c861512a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=442452
2 changed files with 14 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= kdeplasma-addons
|
||||
PORTVERSION= ${KDE4_VERSION}
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= deskutils kde kde-kde4
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
Fix ambiguous call on armv6.
|
||||
|
||||
--- applets/timer/timer.cpp.orig 2017-01-12 05:36:14 UTC
|
||||
+++ applets/timer/timer.cpp
|
||||
@@ -498,7 +498,7 @@ void Timer::toggleTimerVisible()
|
||||
m_blinkAnim = animGroup;
|
||||
}
|
||||
|
||||
- m_blinkAnim->setDirection(qFuzzyCompare(m_hoursDigit[0]->opacity(), 1.0) ?
|
||||
+ m_blinkAnim->setDirection(qFuzzyCompare(m_hoursDigit[0]->opacity(), qreal(1.0)) ?
|
||||
QAbstractAnimation::Forward : QAbstractAnimation::Backward);
|
||||
m_blinkAnim->start();
|
||||
}
|
Loading…
Reference in a new issue