summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview
diff options
context:
space:
mode:
authorBjoern Erik Nilsen <bjorn.nilsen@nokia.com>2009-03-19 14:31:56 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-04-06 11:49:44 (GMT)
commit5910dbe6e7a024301d431102703f9abe323ebd13 (patch)
tree7d1b48e88d35a1d48561e6e24586f0b675252e12 /src/gui/graphicsview
parentbd4b177e051852f0fb94df9c0ee2e512478e0d38 (diff)
downloadQt-5910dbe6e7a024301d431102703f9abe323ebd13.zip
Qt-5910dbe6e7a024301d431102703f9abe323ebd13.tar.gz
Qt-5910dbe6e7a024301d431102703f9abe323ebd13.tar.bz2
Fixes: Compile on funky scratchbox ARM compiler.
Diffstat (limited to 'src/gui/graphicsview')
-rw-r--r--src/gui/graphicsview/qgraphicsitem_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem_p.h b/src/gui/graphicsview/qgraphicsitem_p.h
index df07b87..98e7c13 100644
--- a/src/gui/graphicsview/qgraphicsitem_p.h
+++ b/src/gui/graphicsview/qgraphicsitem_p.h
@@ -249,7 +249,7 @@ public:
inline bool isInvisible() const
{
return !visible || (hasEffectiveOpacity
- && qFuzzyCompare(q_func()->effectiveOpacity() + 1.0, qreal(1.0)));
+ && qFuzzyCompare(q_func()->effectiveOpacity() + 1, qreal(1.0)));
}
QPainterPath cachedClipPath;