Skip to content
GitLab
Menu
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
c6431bb2
Commit
c6431bb2
authored
Feb 03, 2011
by
Marco Bubke
Browse files
QmlDesigner.NodeInstances: Remove qDebugs
parent
468ad536
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/designercore/instances/qmlstatenodeinstance.cpp
View file @
c6431bb2
...
...
@@ -104,16 +104,11 @@ QDeclarativeStateGroup *QmlStateNodeInstance::stateGroup() const
bool
QmlStateNodeInstance
::
isStateActive
()
const
{
qDebug
()
<<
stateObject
();
qDebug
()
<<
stateGroup
();
if
(
stateGroup
())
qDebug
()
<<
"state name"
<<
stateGroup
()
->
state
()
<<
property
(
"name"
);
return
stateObject
()
&&
stateGroup
()
&&
stateGroup
()
->
state
()
==
property
(
"name"
);
}
void
QmlStateNodeInstance
::
setPropertyVariant
(
const
QString
&
name
,
const
QVariant
&
value
)
{
qDebug
()
<<
__FUNCTION__
<<
stateObject
()
<<
name
<<
value
;
bool
hasParent
=
parent
();
bool
isStateOfTheRootModelNode
=
parentInstance
()
&&
parentInstance
()
->
isRootNodeInstance
();
if
(
name
==
"when"
&&
(
!
hasParent
||
isStateOfTheRootModelNode
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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