summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-05-09 05:47:20 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2011-05-09 08:44:13 (GMT)
commit224050aae75fd5b1d6c57909d894a3eba7ac43fc (patch)
tree1a217ca98bd9fff9131c11191eb5169d775a4f92 /tests/auto
parenta4f105070799d4b4362b80b77c5960b364f77000 (diff)
downloadQt-224050aae75fd5b1d6c57909d894a3eba7ac43fc.zip
Qt-224050aae75fd5b1d6c57909d894a3eba7ac43fc.tar.gz
Qt-224050aae75fd5b1d6c57909d894a3eba7ac43fc.tar.bz2
Remove unused function from qtessellator autotest
Change-Id: I24c1db8392370d19970421a014f7bb6c4bc7c6e8 Task-number: QTBUG-17582 Reviewed-by: Rohan McGovern
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qtessellator/oldtessellator.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/auto/qtessellator/oldtessellator.cpp b/tests/auto/qtessellator/oldtessellator.cpp
index 10b8710..e6a0451 100644
--- a/tests/auto/qtessellator/oldtessellator.cpp
+++ b/tests/auto/qtessellator/oldtessellator.cpp
@@ -80,19 +80,6 @@ struct QEdge {
horizontal = p1.y == p2.y;
}
- inline qreal xAt(const qreal &y) const
- {
- Q_ASSERT(p1.y != p2.y);
- XFixed yf = XDoubleToFixed(y);
-
- if (yf == p1.y)
- return XFixedToDouble(p1.x);
- else if (yf == p2.y)
- return XFixedToDouble(p2.x);
-
- return (!vertical) ? (((y - b)*im)) : pf1.x();
- }
-
QPointF pf1, pf2;
XPointFixed p1, p2;
qreal m;