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
389ca252
Commit
389ca252
authored
Jan 07, 2011
by
hjk
Browse files
s60devicerunconfiguration: remove useless code
parent
27e3a1dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-s60/s60devicerunconfiguration.cpp
View file @
389ca252
...
...
@@ -752,13 +752,6 @@ void S60DeviceRunControl::applicationRunFailedNotice(const QString &errorMessage
// ======== S60DeviceDebugRunControl
static
inline
QString
localExecutable
(
const
S60DeviceRunConfiguration
*
rc
)
{
if
(
const
S60DeviceRunConfiguration
*
s60runConfig
=
qobject_cast
<
const
S60DeviceRunConfiguration
*>
(
rc
))
return
s60runConfig
->
localExecutableFileName
();
return
QString
();
}
// Return symbol file which should co-exist with the executable.
// location in debug builds. This can be 'foo.sym' (ABLD) or 'foo.exe.sym' (Raptor)
static
inline
QString
symbolFileFromExecutable
(
const
QString
&
executable
)
...
...
@@ -802,7 +795,7 @@ static Debugger::DebuggerStartParameters s60DebuggerStartParams(const S60DeviceR
// Prefer the '*.sym' file over the '.exe', which should exist at the same
// location in debug builds. This can be 'foo.exe' (ABLD) or 'foo.exe.sym' (Raptor)
sp
.
symbolFileName
=
symbolFileFromExecutable
(
localExecutable
(
rc
));
sp
.
symbolFileName
=
symbolFileFromExecutable
(
rc
->
localExecutable
FileName
(
));
return
sp
;
}
...
...
@@ -812,7 +805,7 @@ S60DeviceDebugRunControl::S60DeviceDebugRunControl(S60DeviceRunConfiguration *rc
{
if
(
startParameters
().
symbolFileName
.
isEmpty
())
{
const
QString
msg
=
tr
(
"Warning: Cannot locate the symbol file belonging to %1."
).
arg
(
localExecutable
(
rc
));
arg
(
rc
->
localExecutable
FileName
(
));
appendMessage
(
msg
,
ErrorMessageFormat
);
}
}
...
...
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