diff options
author | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2009-09-01 14:27:57 (GMT) |
---|---|---|
committer | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2009-09-01 14:31:47 (GMT) |
commit | 3418320aa5cad4a982f6278be1fbe8ce66c1558f (patch) | |
tree | 4dba53c234658861b8f97f17e0cfd8546f4b676f /examples/animation | |
parent | 9f59fb741183e1235b2a385b0e688e4a7f4b15c9 (diff) | |
download | Qt-3418320aa5cad4a982f6278be1fbe8ce66c1558f.zip Qt-3418320aa5cad4a982f6278be1fbe8ce66c1558f.tar.gz Qt-3418320aa5cad4a982f6278be1fbe8ce66c1558f.tar.bz2 |
Fixes examples/animation/states, supposedly hidden element was appearing
Reviewed-by: trustme
Diffstat (limited to 'examples/animation')
-rw-r--r-- | examples/animation/states/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/animation/states/main.cpp b/examples/animation/states/main.cpp index a78548c..9644049 100644 --- a/examples/animation/states/main.cpp +++ b/examples/animation/states/main.cpp @@ -179,8 +179,8 @@ int main(int argc, char *argv[]) // State 3 state3->assignProperty(button, "text", "Switch to state 1"); - state3->assignProperty(p1, "geometry", QRectF(5, 5, 64, 64)); - state3->assignProperty(p2, "geometry", QRectF(5, 5 + 64 + 5, 64, 64)); + state3->assignProperty(p1, "geometry", QRectF(0, 5, 64, 64)); + state3->assignProperty(p2, "geometry", QRectF(0, 5 + 64 + 5, 64, 64)); state3->assignProperty(p3, "geometry", QRectF(5, 5 + (64 + 5) + 64, 64, 64)); state3->assignProperty(p4, "geometry", QRectF(5 + 64 + 5, 5, 64, 64)); state3->assignProperty(p5, "geometry", QRectF(5 + 64 + 5, 5 + 64 + 5, 64, 64)); |