aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/language/astpropertiesitemhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/corelib/language/astpropertiesitemhandler.cpp')
-rw-r--r--src/lib/corelib/language/astpropertiesitemhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/language/astpropertiesitemhandler.cpp b/src/lib/corelib/language/astpropertiesitemhandler.cpp
index 1ea78bf79..b28fe7d76 100644
--- a/src/lib/corelib/language/astpropertiesitemhandler.cpp
+++ b/src/lib/corelib/language/astpropertiesitemhandler.cpp
@@ -139,7 +139,7 @@ private:
value = JSSourceValue::create(true);
value->setFile(conditionalValue->file());
item->setProperty(propertyName, value);
- value->setSourceCode(QStringRef(&StringConstants::baseVar()));
+ value->setSourceCode(StringConstants::baseVar());
value->setSourceUsesBaseFlag();
}
m_alternative.value = conditionalValue;