diff --git a/cockatrice/src/server/user/user_list_widget.cpp b/cockatrice/src/server/user/user_list_widget.cpp index bed1d85a6..80fe67b50 100644 --- a/cockatrice/src/server/user/user_list_widget.cpp +++ b/cockatrice/src/server/user/user_list_widget.cpp @@ -325,7 +325,7 @@ bool UserListItemDelegate::editorEvent(QEvent *event, #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)) static_cast(parent())->showContextMenu(mouseEvent->globalPosition().toPoint(), index); #else - static_cast(parent())->showContextMenu(mouseEvent->globalPos(), index); + static_cast(parent())->showContextMenu(mouseEvent->globalPos(), index); #endif return true; }