mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-03 19:10:53 +01:00
Revert "Try Clazy fix-its"
Segfault on old Qt versions!
This reverts commit dba7caed30.
This commit is contained in:
@@ -1000,8 +1000,7 @@ void DynamicElementTextItem::setupFormulaConnection()
|
||||
|
||||
void DynamicElementTextItem::clearFormulaConnection()
|
||||
{
|
||||
for (const QMetaObject::Connection& con :
|
||||
std::as_const(m_formula_connection))
|
||||
for (const QMetaObject::Connection& con : m_formula_connection)
|
||||
disconnect(con);
|
||||
m_formula_connection.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user