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
Tobias Hunger
qt-creator
Commits
6c45e454
Commit
6c45e454
authored
Mar 29, 2010
by
Tobias Hunger
Browse files
Fix Release being displayed as Debug
* Simplify code a bit, too.
parent
840d1587
Changes
1
Show whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt4target.cpp
View file @
6c45e454
...
...
@@ -175,11 +175,8 @@ Qt4Target *Qt4TargetFactory::create(ProjectExplorer::Project *parent, const QStr
QString
displayName
;
if
(
qtVersionCount
>
1
)
displayName
=
tr
(
"%1 %2"
,
"build configuration display name, %1 is Qt version, %2 is debug or release"
).
arg
(
info
.
version
->
displayName
(),
(
info
.
buildConfig
|
QtVersion
::
DebugBuild
)
?
tr
(
"Debug"
)
:
tr
(
"Release"
));
else
displayName
=
tr
(
"%1"
,
"debug buildconfiguration name (only one Qt version! %1 is debug or release)"
).
arg
((
info
.
buildConfig
|
QtVersion
::
DebugBuild
)
?
tr
(
"Debug"
)
:
tr
(
"Release"
));
displayName
=
info
.
version
->
displayName
()
+
QChar
(
' '
);
displayName
.
append
((
info
.
buildConfig
&
QtVersion
::
DebugBuild
)
?
tr
(
"Debug"
)
:
tr
(
"Release"
));
// Skip release builds for the symbian emulator.
if
(
id
!=
QLatin1String
(
Constants
::
S60_EMULATOR_TARGET_ID
)
&&
...
...
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