mirror of https://github.com/CGAL/cgal
The function sizeHint should be const
This commit is contained in:
parent
25661c1d58
commit
ca2e022310
|
|
@ -88,7 +88,7 @@ public:
|
|||
void unlock() { if (Locked>0) --Locked; do_paint(); };
|
||||
void do_paint() { if (Locked==0) repaint( FALSE ); };
|
||||
|
||||
virtual QSize sizeHint(){return QSize(geometry().width(),
|
||||
virtual QSize sizeHint() const {return QSize(geometry().width(),
|
||||
geometry().height());}
|
||||
|
||||
// properties
|
||||
|
|
|
|||
Loading…
Reference in New Issue