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
a712509b
Commit
a712509b
authored
Mar 30, 2010
by
Tobias Hunger
Browse files
Activate simulator
... as default whenever that is selected
parent
69100c35
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/wizards/targetsetuppage.cpp
View file @
a712509b
...
...
@@ -245,8 +245,11 @@ bool TargetSetupPage::setupProject(Qt4ProjectManager::Qt4Project *project)
if
(
!
targetInfos
.
isEmpty
())
target
=
project
->
targetFactory
()
->
create
(
project
,
targetId
,
targetInfos
);
if
(
target
)
if
(
target
)
{
project
->
addTarget
(
target
);
if
(
target
->
id
()
==
QLatin1String
(
Constants
::
QT_SIMULATOR_TARGET_ID
))
project
->
setActiveTarget
(
target
);
}
}
// Create the default target if nothing else was set up:
...
...
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