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
740717f0
Commit
740717f0
authored
Jun 09, 2010
by
Kai Koehne
Browse files
Fix crash when loading a .qmlproject with a custom run configuration
Task-number: QTCREATORBUG-1609
parent
92583024
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmlprojectmanager/qmlproject.cpp
View file @
740717f0
...
...
@@ -258,7 +258,7 @@ bool QmlProject::fromMap(const QVariantMap &map)
refresh
(
Everything
);
// FIXME workaround to guarantee that run/debug actions are enabled if a valid file exists
QmlProjectRunConfiguration
*
runConfig
=
static
_cast
<
QmlProjectRunConfiguration
*>
(
activeTarget
()
->
activeRunConfiguration
());
QmlProjectRunConfiguration
*
runConfig
=
qobject
_cast
<
QmlProjectRunConfiguration
*>
(
activeTarget
()
->
activeRunConfiguration
());
if
(
runConfig
)
runConfig
->
changeCurrentFile
(
0
);
...
...
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