Skip to content

Commit

Permalink
Fix typo in networkscene.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
n-elie committed May 16, 2024
1 parent 93f9bbc commit c4fb513
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/networkscene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ QRectF NetworkScene::visibleItemsBoundingRect()
QRectF boundingRect;
foreach (QGraphicsItem* item, items())
{
if (item->isVisible and !(item->flags() & QGraphicsItem::ItemHasNoContents))
boundingRect |= item->sceneBoundingRect();
if (item->isVisible() and !(item->flags() & QGraphicsItem::ItemHasNoContents))
boundingRect |= item->sceneBoundingRect();
}
return boundingRect;
}
Expand Down

0 comments on commit c4fb513

Please sign in to comment.