This commit is contained in:
Radu Ursu 2002-06-27 08:19:10 +00:00
parent a1d4767aeb
commit e99fc0a30a
2 changed files with 1 additions and 5 deletions

View File

@ -87,7 +87,7 @@ public:
void unlock() { if (Locked>0) --Locked; do_paint(); };
void do_paint() { if (Locked==0) repaint( FALSE ); };
virtual QSize sizeHint() const;
virtual QSize sizeHint(){return QSize(geometry().width(), geometry().height());}
// properties
// ~~~~~~~~~~

View File

@ -537,10 +537,6 @@ void Qt_widget::clear() {
qt_layers.erase(std::find(qt_layers.begin(),qt_layers.end(),s));
}
QSize Qt_widget::sizeHint(){
return QSize(geometry().width(), geometry().height();}
}
} // namespace CGAL
// moc_source_file: ../../include/CGAL/IO/Qt_widget.h