Code review comment for lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/orientationManual

Revision history for this message
Tim Peeters (tpeeters) wrote :

53 - onOrientationAngleChanged: { automaticOrientation ? stableOrientationAngleTimer.restart() : d.tryUpdateState(); }
54 + onOrientationAngleChanged: automaticOrientation ? stableOrientationAngleTimer.restart()
55 + : d.tryUpdateState();

why did you remove the { }?

Personally I would use the old-fashioned if-then-else ;) but that's a matter of taste I guess.

« Back to merge proposal