fix: build error introduced in #3516 (#3708)

This commit is contained in:
Alexandru Ionut Tripon 2025-04-29 10:46:19 +03:00 committed by GitHub
commit 57d3d4815b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -152,7 +152,7 @@ bool ProjectItemDelegate::editorEvent(QEvent* event,
const QStyleOptionViewItem checkboxOpt = makeCheckboxStyleOption(opt, style);
if (!checkboxOpt.rect.contains(mouseEvent->x(), mouseEvent->y()))
if (!checkboxOpt.rect.contains(mouseEvent->pos().x(), mouseEvent->pos().y()))
return false;
// swallow other events