Fix various typos in source documentation and comments

Found via `codespell`
This commit is contained in:
luz paz
2022-12-04 06:24:28 -05:00
committed by Laurent Trinques
parent 1eed13c617
commit a76e5446aa
32 changed files with 88 additions and 87 deletions

View File

@@ -138,16 +138,16 @@ void ElementsMover::continueMovement(const QPointF &movement)
for (auto &conductor : m_moved_content.m_conductors_to_update)
{
#if TODO_LIST
#pragma message("@TODO fix this problem correctly, probably we must to see conductor class.")
#pragma message("@TODO fix this problem correctly, probably we must see conductor class.")
#endif
//Due to a weird behavior, we must to ensure that the position of the conductor is to (0,0).
//Due to a weird behavior, we must ensure that the position of the conductor is (0,0).
//If not, in some unknown case the function QGraphicsScene::itemsBoundingRect() return a rectangle
//that take in acount the pos() of the conductor, even if the bounding rect returned by the conductor is not in the pos().
//For the user this situation appear when the top right of the folio is not at the top right of the graphicsview,
//that take into account the pos() of the conductor, even if the bounding rect returned by the conductor is not in the pos().
//For the user this situation appears when the top right of the folio is not at the top right of the graphicsview,
//but displaced to the right and/or bottom.
//@TODO fix this problem correctly, probably we must to see conductor class.
// if (c->pos() != QPointF(0,0)) { //<- they work, but the conductor text return to her original pos when the pos is set by user and not auto
//@TODO fix this problem correctly, probably we must see conductor class.
// if (c->pos() != QPointF(0,0)) { //<- they work, but the conductor text return to its original pos when the pos is set by user and not auto
// c->setPos(0,0); // because set the pos to 0,0 so text move to, and after call updatePath but because text pos is user defined
// } // we don't move it.
conductor->updatePath();