summaryrefslogtreecommitdiff
path: root/src/plugins/qnx
diff options
context:
space:
mode:
authorhjk <qthjk@ovi.com>2012-07-25 03:38:19 +0200
committerhjk <qthjk@ovi.com>2012-07-25 10:39:00 +0200
commit26e7ed14b7cc275c6975d24f3a13e0c81a050f2b (patch)
treef044d45a6d0fc6d0796f6b675749f940a9881d26 /src/plugins/qnx
parentc6f7eaea592c1721cfaaa779cda61f8c9f30ea99 (diff)
downloadqt-creator-26e7ed14b7cc275c6975d24f3a13e0c81a050f2b.tar.gz
debugger: remove unused code
Change-Id: I105aa0433530abb4e9f53de19c0846281ccda0cf Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/qnx')
-rw-r--r--src/plugins/qnx/blackberryruncontrolfactory.cpp4
-rw-r--r--src/plugins/qnx/qnxruncontrolfactory.cpp4
2 files changed, 2 insertions, 6 deletions
diff --git a/src/plugins/qnx/blackberryruncontrolfactory.cpp b/src/plugins/qnx/blackberryruncontrolfactory.cpp
index d1abfc3046..2e649682f1 100644
--- a/src/plugins/qnx/blackberryruncontrolfactory.cpp
+++ b/src/plugins/qnx/blackberryruncontrolfactory.cpp
@@ -134,10 +134,8 @@ Debugger::DebuggerStartParameters BlackBerryRunControlFactory::startParameters(
params.debuggerCommand = Debugger::DebuggerProfileInformation::debuggerCommand(profile).toString();
params.sysRoot = ProjectExplorer::SysRootProfileInformation::sysRoot(profile).toString();
- if (ProjectExplorer::ToolChain *tc = ProjectExplorer::ToolChainProfileInformation::toolChain(profile)) {
+ if (ProjectExplorer::ToolChain *tc = ProjectExplorer::ToolChainProfileInformation::toolChain(profile))
params.toolChainAbi = tc->targetAbi();
- params.remoteArchitecture = ProjectExplorer::Abi::toString(tc->targetAbi().architecture());
- }
params.executable = runConfig->localExecutableFilePath();
params.remoteChannel = runConfig->deployConfiguration()->deviceHost() + QLatin1String(":8000");
diff --git a/src/plugins/qnx/qnxruncontrolfactory.cpp b/src/plugins/qnx/qnxruncontrolfactory.cpp
index b0125af6c8..2d95b48609 100644
--- a/src/plugins/qnx/qnxruncontrolfactory.cpp
+++ b/src/plugins/qnx/qnxruncontrolfactory.cpp
@@ -132,10 +132,8 @@ Debugger::DebuggerStartParameters QnxRunControlFactory::startParameters(
params.debuggerCommand = Debugger::DebuggerProfileInformation::debuggerCommand(profile).toString();
params.sysRoot = ProjectExplorer::SysRootProfileInformation::sysRoot(profile).toString();
- if (ProjectExplorer::ToolChain *tc = ProjectExplorer::ToolChainProfileInformation::toolChain(profile)) {
+ if (ProjectExplorer::ToolChain *tc = ProjectExplorer::ToolChainProfileInformation::toolChain(profile))
params.toolChainAbi = tc->targetAbi();
- params.remoteArchitecture = ProjectExplorer::Abi::toString(tc->targetAbi().architecture());
- }
params.symbolFileName = runConfig->localExecutableFilePath();
params.remoteExecutable = runConfig->remoteExecutableFilePath();