From 14a86f0091ac19219633a577bacd106dfbde4915 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 13 Jun 2013 13:09:01 +0200 Subject: [PATCH] Analyzer: De-noise Change-Id: I13796142c56621e56ba6142d214e01f6373369bd Reviewed-by: hjk --- src/plugins/valgrind/valgrindtool.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/plugins/valgrind/valgrindtool.cpp b/src/plugins/valgrind/valgrindtool.cpp index 3300643b1da..041ecd07e69 100644 --- a/src/plugins/valgrind/valgrindtool.cpp +++ b/src/plugins/valgrind/valgrindtool.cpp @@ -67,17 +67,16 @@ Analyzer::AnalyzerStartParameters ValgrindTool::createStartParameters( sp.displayName = runConfiguration->displayName(); if (LocalApplicationRunConfiguration *rc1 = qobject_cast(runConfiguration)) { - ProjectExplorer::EnvironmentAspect *aspect - = runConfiguration->extraAspect(); + EnvironmentAspect *aspect = runConfiguration->extraAspect(); if (aspect) sp.environment = aspect->environment(); sp.workingDirectory = rc1->workingDirectory(); sp.debuggee = rc1->executable(); sp.debuggeeArgs = rc1->commandLineArguments(); - const ProjectExplorer::IDevice::ConstPtr device = - ProjectExplorer::DeviceKitInformation::device(runConfiguration->target()->kit()); + const IDevice::ConstPtr device = + DeviceKitInformation::device(runConfiguration->target()->kit()); QTC_ASSERT(device, return sp); - QTC_ASSERT(device->type() == ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE, return sp); + QTC_ASSERT(device->type() == Constants::DESKTOP_DEVICE_TYPE, return sp); QTcpServer server; if (!server.listen(QHostAddress::LocalHost) && !server.listen(QHostAddress::LocalHostIPv6)) { qWarning() << "Cannot open port on host for profiling."; @@ -90,7 +89,7 @@ Analyzer::AnalyzerStartParameters ValgrindTool::createStartParameters( qobject_cast(runConfiguration)) { sp.startMode = Analyzer::StartRemote; sp.debuggee = rc2->remoteExecutableFilePath(); - sp.connParams = ProjectExplorer::DeviceKitInformation::device(rc2->target()->kit())->sshParameters(); + sp.connParams = DeviceKitInformation::device(rc2->target()->kit())->sshParameters(); sp.analyzerCmdPrefix = rc2->commandPrefix(); sp.debuggeeArgs = rc2->arguments(); } else {