aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerplugin.cpp
diff options
context:
space:
mode:
authorDavid Schulz <[email protected]>2013-11-04 09:47:34 +0100
committerhjk <[email protected]>2013-11-05 17:07:30 +0100
commit94c10ae6cc2d1755fff3cf62503e777c5ab8ceef (patch)
tree0bf27338b60280b5ec50f652f9e4bcf1df0e85ee /src/plugins/debugger/debuggerplugin.cpp
parent9a4caa4b4c805884c53336b491575c06986078dc (diff)
Debugger: Interrupt inferior via signal operation on Windows.
Task-number: QTCREATORBUG-10558 Change-Id: I5a27beca4601cae3b0de8f903a2cbc08ee801149 Reviewed-by: Robert Loehning <[email protected]> Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r--src/plugins/debugger/debuggerplugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index cc42f45a3f7..5495ceb0cd8 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -661,9 +661,9 @@ bool fillParameters(DebuggerStartParameters *sp, const Kit *kit, QString *errorM
if (tc)
sp->toolChainAbi = tc->targetAbi();
- IDevice::ConstPtr device = DeviceKitInformation::device(kit);
- if (device) {
- sp->connParams = device->sshParameters();
+ sp->device = DeviceKitInformation::device(kit);
+ if (sp->device) {
+ sp->connParams = sp->device->sshParameters();
// Could have been set from command line.
if (sp->remoteChannel.isEmpty())
sp->remoteChannel = sp->connParams.host + QLatin1Char(':') + QString::number(sp->connParams.port);