PDA

View Full Version : what are the historical reasons mentioned in the QRect class reference



jamadagni
14th April 2007, 12:12
In the QRect class reference it is mentioned that for historical reasons bottom() and right() return incorrect values.

1. Does anyone know what these reasons are?
2. Is there a reason that they must be maintained like this? I can file a bug to have this idiosyncracy fixed.

wysota
14th April 2007, 13:42
1. Does anyone know what these reasons are?
An older version used to behave that way.


2. Is there a reason that they must be maintained like this?

Backward compatibility.