summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;