diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2014-01-17 19:33:29 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-20 16:53:10 +0100 |
commit | a0d27513f4eff3f76fd85e6442aca443b7c05a53 (patch) | |
tree | 2239ed849796744299fbe25ab3cc50c2867160e9 /src/doc/src/snippets/declarative/codingconventions | |
parent | 9ba631edb469599d3973982f8d5d72a9ba059eab (diff) |
whitespace fixes
remove trailing spaces & expand tabs
Change-Id: Ia088c8cc8a83d068f6e2ec84903b5220cd3411f1
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/doc/src/snippets/declarative/codingconventions')
-rw-r--r-- | src/doc/src/snippets/declarative/codingconventions/photo.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/doc/src/snippets/declarative/codingconventions/photo.qml b/src/doc/src/snippets/declarative/codingconventions/photo.qml index 0e9e5d3b..e70b055e 100644 --- a/src/doc/src/snippets/declarative/codingconventions/photo.qml +++ b/src/doc/src/snippets/declarative/codingconventions/photo.qml @@ -50,7 +50,7 @@ Rectangle { signal clicked // signal declarations function doSomething(x) // javascript functions - { + { return x + photoImage.width } @@ -58,10 +58,10 @@ Rectangle { x: 20; y: 20; height: 150 // try to group related properties together width: { // large bindings if(photoImage.width > 200){ - photoImage.width; - }else{ - 200; - } + photoImage.width; + } else { + 200; + } } Rectangle { // child objects |