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

@@ -226,7 +226,7 @@ void DynamicTextFieldEditor::fillInfoComboBox()
else {
strl = QETInformation::elementInfoKeys();
}
//We use a QMap because the keys of the map are sorted, then no matter the curent local,
//We use a QMap because the keys of the map are sorted, then no matter the current local,
//the value of the combo box are always alphabetically sorted
QMap <QString, QString> info_map;
for(const QString& str : strl)

View File

@@ -76,7 +76,7 @@ ElementPropertiesEditorWidget::~ElementPropertiesEditorWidget()
/**
@brief ElementPropertiesEditorWidget::upDateInterface
Update the interface with the curent value
Update the interface with the current value
*/
void ElementPropertiesEditorWidget::upDateInterface()
{

View File

@@ -117,7 +117,7 @@ bool PolygonEditor::setPart(CustomElementPart *new_part)
/**
@brief PolygonEditor::currentPart
@return the curent edited part
@return the current edited part
*/
CustomElementPart *PolygonEditor::currentPart() const
{

View File

@@ -329,7 +329,7 @@ void QETElementEditor::fromLocation(const ElementsLocation &location)
* @brief QETElementEditor::toLocation
* Save the edited element into @location
* @param location
* @return true if succesfully saved
* @return true if successfully saved
*/
bool QETElementEditor::toLocation(const ElementsLocation &location)
{
@@ -1259,7 +1259,7 @@ bool QETElementEditor::on_m_save_action_triggered()
*/
bool QETElementEditor::on_m_save_as_action_triggered()
{
// Check element befor writing
// Check element before writing
if (checkElement()) {
//Ask a location to user
ElementsLocation location = ElementDialog::getSaveElementLocation(this);
@@ -1328,7 +1328,7 @@ void QETElementEditor::on_m_open_dxf_action_triggered()
bool QETElementEditor::on_m_save_as_file_action_triggered()
{
// Check element befor writing
// Check element before writing
if (checkElement()) {
//Ask a filename to user, for save the element
QString fn = QFileDialog::getSaveFileName(