INodeEditor: Pass cursor by reference

This commit is contained in:
Lioncache
2025-12-07 02:58:25 -05:00
parent 2f39217583
commit 03ae5b54df
2 changed files with 3 additions and 3 deletions

View File

@@ -232,7 +232,7 @@ CNodeSelection* INodeEditor::Selection() const
return mpSelection;
}
void INodeEditor::EnterPickMode(FNodeFlags AllowedNodes, bool ExitOnInvalidPick, bool EmitOnInvalidPick, bool EmitHoverOnButtonPress, QCursor Cursor /*= Qt::CrossCursor*/)
void INodeEditor::EnterPickMode(FNodeFlags AllowedNodes, bool ExitOnInvalidPick, bool EmitOnInvalidPick, bool EmitHoverOnButtonPress, const QCursor& Cursor /*= Qt::CrossCursor*/)
{
// If we're already in pick mode, exit first so the previous caller has a chance to disconnect
if (mPickMode)