diff options
Diffstat (limited to 'src/widgets/widgets/qcheckbox.cpp')
-rw-r--r-- | src/widgets/widgets/qcheckbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/widgets/qcheckbox.cpp b/src/widgets/widgets/qcheckbox.cpp index b06ae82249..2e9a404157 100644 --- a/src/widgets/widgets/qcheckbox.cpp +++ b/src/widgets/widgets/qcheckbox.cpp @@ -325,7 +325,7 @@ void QCheckBox::mouseMoveEvent(QMouseEvent *e) if (testAttribute(Qt::WA_Hover)) { bool hit = false; if (underMouse()) - hit = hitButton(e->pos()); + hit = hitButton(e->position().toPoint()); if (hit != d->hovering) { update(rect()); |