fix typo in enum-entry and comments

This commit is contained in:
plc-user
2025-02-17 09:33:35 +01:00
parent 51225d5f59
commit 67112bf8e5
10 changed files with 25 additions and 25 deletions

View File

@@ -171,7 +171,7 @@ void ElementQueryWidget::setQuery(const QString &query)
if (ui->m_simple_cb->isChecked()) {
++c;
}
ui->m_terminal_cb->setChecked (str_type.contains(ElementData::typeToString(ElementData::Terminale)) ? true : false);
ui->m_terminal_cb->setChecked (str_type.contains(ElementData::typeToString(ElementData::Terminal)) ? true : false);
if (ui->m_terminal_cb->isChecked()) {
++c;
}
@@ -340,7 +340,7 @@ QString ElementQueryWidget::queryStr() const
bool b = false;
if (ui->m_terminal_cb->isChecked()) {
if (b) where +=" OR";
where += QStringLiteral(" element_type = '") += ElementData::typeToString(ElementData::Terminale) += "'";
where += QStringLiteral(" element_type = '") += ElementData::typeToString(ElementData::Terminal) += "'";
b = true;
}
if (ui->m_thumbnail_cb->isChecked()) {