Commit 35f51af0 authored by Christoph Roick's avatar Christoph Roick
Browse files

Fix oversights of the last DBusInterfaceLauncher commit

parent 2c0f0449
......@@ -130,5 +130,6 @@ void DBusInterfaceAdaptor::debuggerClosed(const QString &name)
auto it = m_launchers.find(name);
if (it != m_launchers.end()) {
emit it.value()->invalidated();
m_launchers.erase(it);
}
}
......@@ -88,8 +88,8 @@ BacktraceGenerator* DebuggerManager::backtraceGenerator() const
void DebuggerManager::addDebugger(AbstractDebuggerLauncher *launcher, bool emitsignal)
{
d->externalDebuggers.append(launcher);
connect(launcher, &DBusInterfaceLauncher::starting, this, &DebuggerManager::onDebuggerStarting);
connect(launcher, &DBusInterfaceLauncher::finished, this, &DebuggerManager::onDebuggerFinished);
connect(launcher, &AbstractDebuggerLauncher::starting, this, &DebuggerManager::onDebuggerStarting);
connect(launcher, &AbstractDebuggerLauncher::finished, this, &DebuggerManager::onDebuggerFinished);
connect(launcher, &AbstractDebuggerLauncher::invalidated, this, &DebuggerManager::onDebuggerInvalidated);
if (emitsignal) {
emit externalDebuggerAdded(launcher);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment