We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 501f2a9 commit 0bd3ddfCopy full SHA for 0bd3ddf
1 file changed
src/aoutils.cpp
@@ -46,7 +46,7 @@ void AOUtils::migrateEffects(QSettings &p_effects_ini)
46
// realization_scaling - This would not be appended to the key_list as it matches scaling property.
47
// realization_alt - This would be appened as it contains an underscore, but not a property.
48
// hearts - This would be appended as it does not contain a property
49
- const QRegularExpression l_regex(QStringLiteral("(\\w+)_(%1)$").arg(l_property_list.join("|")));
+ static QRegularExpression l_regex(QStringLiteral("(\\w+)_(%1)$").arg(l_property_list.join("|")));
50
for (auto i = l_effect_map.begin(); i != l_effect_map.end(); i++)
51
{
52
if (l_regex.match(i.key()).hasMatch())
0 commit comments