mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-07 22:22:33 +01:00
Revert "Try Clazy fix-its"
Segfault on old Qt versions!
This reverts commit dba7caed30.
This commit is contained in:
@@ -530,7 +530,7 @@ void CustomElementGraphicPart::stylesFromXml(const QDomElement &qde)
|
||||
|
||||
//Check each pair of style
|
||||
QRegularExpression rx("^\\s*([a-z-]+)\\s*:\\s*([a-zA-Z-]+)\\s*$");
|
||||
for (const auto& style : std::as_const(styles))
|
||||
for (auto style : styles)
|
||||
{
|
||||
auto rx_match = rx.match(style);
|
||||
if (!rx_match.hasMatch()) {
|
||||
|
||||
Reference in New Issue
Block a user