mirror of https://github.com/CGAL/cgal
Normalize the use of setMouseTracking(true).
This commit is contained in:
parent
994cd46add
commit
0d3aa0d4e8
|
|
@ -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{
|
||||
|
|
|
|||
|
|
@ -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 ),
|
||||
|
|
|
|||
Loading…
Reference in New Issue