Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
b7b50eda
Commit
b7b50eda
authored
May 19, 2010
by
Christian Kamm
Browse files
QmlJS: Allow numbers to be assigned to easing.type.
Task-number: QTCREATORBUG-1439
parent
088bdb29
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/qmljs/qmljscheck.cpp
View file @
b7b50eda
...
...
@@ -108,8 +108,8 @@ public:
}
else
if
(
_rhsValue
->
asUndefinedValue
())
{
_message
.
kind
=
DiagnosticMessage
::
Warning
;
_message
.
message
=
QCoreApplication
::
translate
(
"QmlJS::Check"
,
"value might be 'undefined'"
);
}
else
if
(
!
_rhsValue
->
asStringValue
())
{
_message
.
message
=
QCoreApplication
::
translate
(
"QmlJS::Check"
,
"easing-curve name is not a string"
);
}
else
if
(
!
_rhsValue
->
asStringValue
()
&&
!
_rhsValue
->
asNumberValue
()
)
{
_message
.
message
=
QCoreApplication
::
translate
(
"QmlJS::Check"
,
"easing-curve name is not a string
or number
"
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment