summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/domain/abstractdomain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/domain/abstractdomain.cpp b/src/domain/abstractdomain.cpp
index 94c7168d..3a77a18b 100644
--- a/src/domain/abstractdomain.cpp
+++ b/src/domain/abstractdomain.cpp
@@ -102,7 +102,7 @@ qreal AbstractDomain::spanY() const
bool AbstractDomain::isEmpty() const
{
- return qFuzzyIsNull(spanX()) || qFuzzyIsNull(spanY()) || m_size.isEmpty() ;
+ return qFuzzyCompare(spanX(), 0) || qFuzzyCompare(spanY(), 0) || m_size.isEmpty();
}
QPointF AbstractDomain::calculateDomainPoint(const QPointF &point) const