Fix various typos in source documentation and comments (cont.)

Found via `codespell`
This commit is contained in:
luz paz
2022-12-04 08:21:12 -05:00
committed by Laurent Trinques
parent a76e5446aa
commit 1994235bc5
102 changed files with 277 additions and 277 deletions

View File

@@ -332,8 +332,8 @@ void ElementScene::setEventInterface(ESEventInterface *event_interface)
if (m_event_interface)
{
delete m_event_interface;
//We must to re-init because previous interface
//Reset his own init when deleted
//We must re-init because previous interface
//Reset its own init when deleted
event_interface->init();
}
m_event_interface = event_interface;
@@ -772,11 +772,11 @@ void ElementScene::slot_select(const ElementContent &content)
{
blockSignals(true);
/* Befor clear selection,
* we must to remove the handlers items in @content,
/* Before clearing selection,
* we must remove the handlers items in @content,
* because if in @content there are a selected item,
* but also its handlers items, When item is deselected,
* the item delete its handlers items,
* the item deletes its handlers items,
* then handlers in content doesn't exist anymore and cause segfault
*/
QList<QGraphicsItem*> items_list;