Normalize the use of setMouseTracking(true).

This commit is contained in:
Laurent Rineau 2003-08-27 16:01:27 +00:00
parent 994cd46add
commit 0d3aa0d4e8
2 changed files with 1 additions and 3 deletions

View File

@ -84,7 +84,6 @@ protected:
if(!active)
{
active=true;
widget->setMouseTracking(TRUE);
last_of_poly = Point_2(x, y);
poly.push_back(Point_2(x, y));
} else{

View File

@ -54,7 +54,6 @@ namespace CGAL {
QToolBar(mw, name),
widget(w)
{
w->setMouseTracking(true);
setLabel("Qt_widget standard toolbar");
fill_toolbar(mw);
};
@ -67,7 +66,6 @@ namespace CGAL {
QToolBar("Qt_widget standard toolbar", mw, parent, newLine, name),
widget(w)
{
w->setMouseTracking(true);
fill_toolbar(mw);
};
@ -98,6 +96,7 @@ namespace CGAL {
"showcoordlayer");
widget->attach_standard(showcoordlayer);
showcoordlayer->does_eat_events = false;
widget->setMouseTracking(true);
}
QIconSet arrow_pixmap(QPixmap( (const char**)arrow_small_xpm ),