Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit ceb55010 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Revert "Update global vars when visiting set(..CACHE..FORCE) AST node"

This reverts commit 1726c5c0, it mades the
cmakeprojectvisitortest not to pass.
parent 6435b362
......@@ -512,7 +512,7 @@ int CMakeProjectVisitor::visit(const SetAst *set)
if(set->storeInCache()) {
QStringList values;
CacheValues::const_iterator itCache= m_cache->constFind(set->variableName());
if(!set->forceStoring() && itCache!=m_cache->constEnd())
if(itCache!=m_cache->constEnd())
values = itCache->value.split(';');
else
values = set->values();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment