mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 16:32:16 -07:00
fix build failure
This commit is contained in:
parent
7af5b0179c
commit
edcf9bace5
1 changed files with 1 additions and 1 deletions
|
|
@ -325,7 +325,7 @@ bool UserListItemDelegate::editorEvent(QEvent *event,
|
||||||
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
|
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
|
||||||
static_cast<UserListWidget *>(parent())->showContextMenu(mouseEvent->globalPosition().toPoint(), index);
|
static_cast<UserListWidget *>(parent())->showContextMenu(mouseEvent->globalPosition().toPoint(), index);
|
||||||
#else
|
#else
|
||||||
static_cast<UserList *>(parent())->showContextMenu(mouseEvent->globalPos(), index);
|
static_cast<UserListWidget *>(parent())->showContextMenu(mouseEvent->globalPos(), index);
|
||||||
#endif
|
#endif
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue