Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
5.8.0
-
None
-
Windows 7
Description
I am currently working on a small plotting library and are making a class hierarchy of plot commands. In my base class I assumed that the boundingRect function was const. When implementing a command for drawing text I naturally wanted to use QPainter::boundingRect, but ran into problems because the QPainter function was not declared as const. Why? In my opinion the operation is logically const.