Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
flatpak-qt-creator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
418fda61
Commit
418fda61
authored
Jan 07, 2010
by
Thomas Hartmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qml Designer - property editor: This patch avoids bindings of undefined objects
This fixes random crashes
parent
c283c05d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
.../qmldesigner/components/propertyeditor/propertyeditor.cpp
+3
-3
No files found.
src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
View file @
418fda61
...
@@ -118,9 +118,9 @@ void PropertyEditor::NodeType::setup(const QmlObjectNode &fxObjectNode, const QS
...
@@ -118,9 +118,9 @@ void PropertyEditor::NodeType::setup(const QmlObjectNode &fxObjectNode, const QS
ctxt
->
setContextProperty
(
"anchorBackend"
,
0
);
ctxt
->
setContextProperty
(
"anchorBackend"
,
0
);
ctxt
->
setContextProperty
(
"backendValues"
,
0
);
ctxt
->
setContextProperty
(
"backendValues"
,
0
);
foreach
(
const
QString
&
propertyName
,
m_backendValuesPropertyMap
.
keys
())
//
foreach (const QString &propertyName, m_backendValuesPropertyMap.keys())
m_backendValuesPropertyMap
.
clear
(
propertyName
);
//
m_backendValuesPropertyMap.clear(propertyName);
qDeleteAll
(
m_backendValuesPropertyMap
.
children
());
//
qDeleteAll(m_backendValuesPropertyMap.children());
if
(
fxObjectNode
.
isValid
())
{
if
(
fxObjectNode
.
isValid
())
{
foreach
(
const
QString
&
propertyName
,
fxObjectNode
.
modelNode
().
metaInfo
().
properties
(
true
).
keys
())
foreach
(
const
QString
&
propertyName
,
fxObjectNode
.
modelNode
().
metaInfo
().
properties
(
true
).
keys
())
...
...
Write
Preview
Markdown
is supported
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