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
53 - onOrientationAn gleChanged: { automaticOrient ation ? stableOrientati onAngleTimer. restart( ) : d.tryUpdateState(); } gleChanged: automaticOrient ation ? stableOrientati onAngleTimer. restart( )
54 + onOrientationAn
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.