[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/base/nepomuk-kde/annotation/lib
From:       Nicolas Lécureuil <nlecureuil () mandriva ! com>
Date:       2010-02-11 13:29:06
Message-ID: 1265894946.291436.3808.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1088731 by nlecureuil:

Fix build on ARM

 M  +1 -1      annotation.cpp  


--- trunk/playground/base/nepomuk-kde/annotation/lib/annotation.cpp #1088730:1088731
@@ -89,7 +89,7 @@
 
 void Nepomuk::Annotation::setRelevance( qreal r )
 {
-    d->relevance = qMax( qMin( r, 1.0 ), 0.0 );
+    d->relevance = qBound(qreal(0.0) , r, qreal(1.0));
 }
 
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic