Debugger: Use Qt5 style disconnect

Change-Id: I150df04e8b51880bb57cbc8a0a39461b0d8a54aa
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
Christian Stenger
2014-11-26 10:04:49 +01:00
committed by David Schulz
parent 28907f76e4
commit 050197edf3

View File

@@ -1576,8 +1576,8 @@ void DebuggerPluginPrivate::continueOnAttach(Debugger::DebuggerState state)
if (state != InferiorStopOk)
return;
// disconnect and continue
disconnect(currentEngine(), SIGNAL(stateChanged(Debugger::DebuggerState)),
this, SLOT(continueOnAttach(Debugger::DebuggerState)));
disconnect(currentEngine(), &DebuggerEngine::stateChanged,
this, &DebuggerPluginPrivate::continueOnAttach);
handleExecContinue();
}