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
Tobias Hunger
qt-creator
Commits
47359f76
Commit
47359f76
authored
Jul 15, 2010
by
Kai Koehne
Browse files
Compile fix
QDeclarativeContextData isn't exported for a default Qt (non -developer-build).
parent
2f2c3afa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/tools/qml/qmlobserver/editor/abstractformeditortool.cpp
View file @
47359f76
...
...
@@ -173,9 +173,9 @@ QString AbstractFormEditorTool::titleForItem(const QGraphicsItem *item)
QDeclarativeContext
*
context
=
QDeclarativeEngine
::
contextForObject
(
declarativeItem
);
if
(
context
)
{
QDeclarativeContextData
*
cdata
=
QDeclarativeContextData
::
get
(
context
);
if
(
cdata
)
objectStringId
=
cdata
->
findObjectId
(
declarativeItem
);
//
QDeclarativeContextData *cdata = QDeclarativeContextData::get(context);
//
if (cdata)
//
objectStringId = cdata->findObjectId(declarativeItem);
}
}
...
...
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