mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Fix various typos in source documentation and comments
Found via `codespell`
This commit is contained in:
committed by
Laurent Trinques
parent
1eed13c617
commit
a76e5446aa
@@ -914,7 +914,7 @@ void DiagramView::adjustSceneRect()
|
||||
QSettings settings;
|
||||
if (settings.value("diagrameditor/zoom-out-beyond-of-folio", false).toBool())
|
||||
{
|
||||
//When zoom out beyong of folio is active,
|
||||
//When zoom out beyond of folio is active,
|
||||
//we always adjust the scene rect to be 1/3 bigger than the wiewport
|
||||
QRectF vpbr = mapToScene(viewport()->rect()).boundingRect();
|
||||
vpbr.adjust(0, 0, vpbr.width()/3, vpbr.height()/3);
|
||||
@@ -1225,7 +1225,7 @@ void DiagramView::contextMenuEvent(QContextMenuEvent *e)
|
||||
m_diagram->clearSelection();
|
||||
}
|
||||
|
||||
// At this step qgi can be deleted for exemple if qgi is a QetGraphicsHandlerItem.
|
||||
// At this step qgi can be deleted for example if qgi is a QetGraphicsHandlerItem.
|
||||
// When we call clearSelection the parent item of the handler
|
||||
// is deselected and so delete all handlers, in this case,
|
||||
// qgi become a dangling pointer.
|
||||
|
||||
Reference in New Issue
Block a user