Remove setMouseTracking. It seems to be on by default.

This commit is contained in:
Laurent Rineau 2008-07-02 13:32:49 +00:00
parent 8c017c943c
commit ad6dbd0209
2 changed files with 0 additions and 4 deletions

View File

@ -236,11 +236,9 @@ MainWindow::on_actionCircumcenter_toggled(bool checked)
{ {
if(checked){ if(checked){
scene.installEventFilter(tcc); scene.installEventFilter(tcc);
this->graphicsView->setMouseTracking(true);
tcc->show(); tcc->show();
} else { } else {
scene.removeEventFilter(tcc); scene.removeEventFilter(tcc);
this->graphicsView->setMouseTracking(false);
tcc->hide(); tcc->hide();
} }
} }

View File

@ -209,11 +209,9 @@ MainWindow::on_actionCircumcenter_toggled(bool checked)
{ {
if(checked){ if(checked){
scene.installEventFilter(tcc); scene.installEventFilter(tcc);
this->graphicsView->setMouseTracking(true);
tcc->show(); tcc->show();
} else { } else {
scene.removeEventFilter(tcc); scene.removeEventFilter(tcc);
this->graphicsView->setMouseTracking(false);
tcc->hide(); tcc->hide();
} }
} }