Commit 183ac8a0 authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

more explicitly initialize the private struct

not that the privatizing makes a lot of sense to begin with :|
parent 7314e20f
......@@ -12,17 +12,16 @@
#include "debuggerlaunchers.h"
struct DebuggerManager::Private {
BacktraceGenerator *btGenerator;
bool debuggerRunning;
BacktraceGenerator *btGenerator = nullptr;
bool debuggerRunning = false;
QList<AbstractDebuggerLauncher *> externalDebuggers;
DBusInterfaceAdaptor *dbusInterfaceAdaptor;
DBusInterfaceAdaptor *dbusInterfaceAdaptor = nullptr;
DebuggerManager::DebuggerManager(const Debugger &internalDebugger, const QList<Debugger> &externalDebuggers, QObject *parent)
: QObject(parent)
, d(new Private)
d->debuggerRunning = false;
d->btGenerator = new BacktraceGenerator(internalDebugger, this);
connect(d->btGenerator, &BacktraceGenerator::starting, this, &DebuggerManager::onDebuggerStarting);
connect(d->btGenerator, &BacktraceGenerator::done, this, &DebuggerManager::onDebuggerFinished);
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