Skip to content

Commit

Permalink
Add note about items()
Browse files Browse the repository at this point in the history
  • Loading branch information
juzzlin committed Dec 11, 2018
1 parent 4ae1e8f commit 5b23379
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/editorview.cpp
Expand Up @@ -226,6 +226,7 @@ void EditorView::mouseMoveEvent(QMouseEvent * event)
m_mediator.clearSelection();

m_connectionTargetNode = nullptr;
// TODO: Use items() to pre-filter the nodes
if (auto && node = m_mediator.getBestOverlapNode(*m_dummyDragNode))
{
node->setSelected(true);
Expand Down

0 comments on commit 5b23379

Please sign in to comment.