mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
Fix various typos in source documentation and comments (cont.)
Found via `codespell`
This commit is contained in:
committed by
Laurent Trinques
parent
a76e5446aa
commit
1994235bc5
@@ -365,9 +365,9 @@ bool LinkSingleElementWidget::setLiveEdit(bool live_edit)
|
||||
|
||||
/**
|
||||
@brief LinkSingleElementWidget::availableElements
|
||||
@return A QList with all available element
|
||||
@return A QList with all available elements
|
||||
to be linked with the edited element.
|
||||
This methode take care of the combo box "find in diagram"
|
||||
This method takes care of the "find in diagram" combo box
|
||||
*/
|
||||
QVector <QPointer<Element>> LinkSingleElementWidget::availableElements()
|
||||
{
|
||||
@@ -495,9 +495,9 @@ void LinkSingleElementWidget::setUpHeaderLabels()
|
||||
void LinkSingleElementWidget::diagramWasRemovedFromProject()
|
||||
{
|
||||
// We use a timer because if the removed diagram
|
||||
// contain the master element linked to the edited element
|
||||
// we must to wait for this elements be unlinked,
|
||||
// else the list of available master isn't up to date
|
||||
// contains the master element linked to the edited element
|
||||
// we must wait for this elements to be unlinked,
|
||||
// or else the list of available master isn't up to date
|
||||
QTimer::singleShot(10, this, SLOT(updateUi()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user