mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-04-29 22:24:26 +02:00
fix: build error introduced in #3516
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
6b4f07e976
commit
93552277fe
@ -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…
x
Reference in New Issue
Block a user