summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-05-13 06:17:19 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-05-13 06:17:19 (GMT)
commit4788467341f4363c383589402eccd3e1987c1df3 (patch)
tree0c56990e6a4b0b6c21dc294a1b3fd8d64f183299 /src/declarative
parent1f8376d3abfa35ab73ae9f0a52a5d597f54040df (diff)
downloadQt-4788467341f4363c383589402eccd3e1987c1df3.zip
Qt-4788467341f4363c383589402eccd3e1987c1df3.tar.gz
Qt-4788467341f4363c383589402eccd3e1987c1df3.tar.bz2
Work with no initial file (open dialog).
Resize correctly on open new file.
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/util/qfxview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/util/qfxview.cpp b/src/declarative/util/qfxview.cpp
index 77c17fc..1c24e28 100644
--- a/src/declarative/util/qfxview.cpp
+++ b/src/declarative/util/qfxview.cpp
@@ -453,6 +453,7 @@ void QFxView::reset()
{
clearItems();
d->engine.clearComponentCache();
+ d->initialSize = QSize();
}
/*!