The function sizeHint should be const

This commit is contained in:
Radu Ursu 2002-07-03 11:01:56 +00:00
parent 25661c1d58
commit ca2e022310
1 changed files with 1 additions and 1 deletions

View File

@ -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