commit
57d3d4815b
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ bool ProjectItemDelegate::editorEvent(QEvent* event,
|
||||||
|
|
||||||
const QStyleOptionViewItem checkboxOpt = makeCheckboxStyleOption(opt, style);
|
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;
|
return false;
|
||||||
|
|
||||||
// swallow other events
|
// swallow other events
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue