Replace 'INFINITY' with more correct numeric_limits<qreal>::infinity()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=706983
This commit is contained in:
Robert Knight 2007-08-31 17:46:12 +00:00
parent 536d3749c1
commit 04375c4b09

View File

@ -39,7 +39,8 @@ class Widget::Private
public:
Private()
: minimumSize(0,0)
, maximumSize(INFINITY,INFINITY)
, maximumSize(std::numeric_limits<qreal>::infinity(),
std::numeric_limits<qreal>::infinity())
, parent(0)
, opacity(1.0)
{ }