summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-05-13 05:05:30 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-05-13 05:05:30 (GMT)
commit1f8376d3abfa35ab73ae9f0a52a5d597f54040df (patch)
treea9c70f0b9643c2512f12af4ae26ee77307f961fc
parent6fb51c1d8f923c2994490d0ea14ecae4e101187e (diff)
downloadQt-1f8376d3abfa35ab73ae9f0a52a5d597f54040df.zip
Qt-1f8376d3abfa35ab73ae9f0a52a5d597f54040df.tar.gz
Qt-1f8376d3abfa35ab73ae9f0a52a5d597f54040df.tar.bz2
fix bug 253385 fix
-rw-r--r--src/declarative/util/qfxview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/util/qfxview.cpp b/src/declarative/util/qfxview.cpp
index b070817..77c17fc 100644
--- a/src/declarative/util/qfxview.cpp
+++ b/src/declarative/util/qfxview.cpp
@@ -394,7 +394,7 @@ void QFxView::timerEvent(QTimerEvent* e)
*/
QSize QFxView::sizeHint() const
{
- if (!d->root) {
+ if (d->root) {
if (d->initialSize.width() <= 0)
d->initialSize.setWidth(d->root->width());
if (d->initialSize.height() <= 0)