- "Orientation should be %1 degree now.\n\n").arg((cur_angle + turn_angle)
- % 360) + "Input measured angle in degree the Roomba has "
- "turned:", turn_angle, 0, numeric_limits<int>::max(), 1, &ok);
+ "Orientation should be %1 degree now.\n\n").arg((cur_angle + turn_angle
+ + 360) % 360) + "Input measured angle in degree the Roomba has turned:",
+ turn_angle, numeric_limits<int>::min(), numeric_limits<int>::max(), 1,
+ &ok);