From 5ad38938406c8a77bd2f83d5fccc84f3cd6e16bb Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 26 Dec 2008 12:00:37 -0500 Subject: Removed the QPoint bounds checker --- sigmod/Object.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sigmod/Object.cpp') diff --git a/sigmod/Object.cpp b/sigmod/Object.cpp index 99e42f16..d747758d 100644 --- a/sigmod/Object.cpp +++ b/sigmod/Object.cpp @@ -101,12 +101,6 @@ QString Sigmod::Object::bounds(const QString& variable, const int min, const int return msg.arg(value.numerator()).arg(value.denominator()); } -QString Sigmod::Object::bounds(const QString& variable, const QPoint& min, const QPoint& max, const QPoint& value) -{ - QString msg("Value for %1 out-of-bounds ((%2, %3) -- (%4, %5)) (%6 / %7)"); - return msg.arg(variable).arg(min.x()).arg(min.y()).arg(max.x()).arg(max.y()).arg(value.x()).arg(value.y()); -} - QString Sigmod::Object::bounds(const QString& variable, const QString& min, const QString& max, const int value) { return QString("Value for %1 out-of-bounds (%2 -- %3) (%4)").arg(variable).arg(min).arg(max).arg(value); -- cgit