From ca2e022310a4e7df6f19f9d22f3c5aab62bd292f Mon Sep 17 00:00:00 2001 From: Radu Ursu Date: Wed, 3 Jul 2002 11:01:56 +0000 Subject: [PATCH] The function sizeHint should be const --- Packages/Qt_widget/include/CGAL/IO/Qt_widget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/Qt_widget/include/CGAL/IO/Qt_widget.h b/Packages/Qt_widget/include/CGAL/IO/Qt_widget.h index f6cec37c23f..41c57d520b7 100644 --- a/Packages/Qt_widget/include/CGAL/IO/Qt_widget.h +++ b/Packages/Qt_widget/include/CGAL/IO/Qt_widget.h @@ -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