diff options
Diffstat (limited to 'src/plugins/qmljseditor/quicktoolbar.cpp')
-rw-r--r-- | src/plugins/qmljseditor/quicktoolbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmljseditor/quicktoolbar.cpp b/src/plugins/qmljseditor/quicktoolbar.cpp index c83610d2cc..0ed04a5299 100644 --- a/src/plugins/qmljseditor/quicktoolbar.cpp +++ b/src/plugins/qmljseditor/quicktoolbar.cpp @@ -76,7 +76,7 @@ static inline const ObjectValue * getPropertyChangesTarget(Node *node, const Sco && ! scriptBinding->qualifiedId->next) { Evaluate evaluator(&scopeChain); const Value *targetValue = evaluator(scriptBinding->statement); - if (const ObjectValue *targetObject = value_cast<const ObjectValue *>(targetValue)) { + if (const ObjectValue *targetObject = value_cast<ObjectValue>(targetValue)) { return targetObject; } else { return 0; |