Commit 78c416ae authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

make all backends qobjects

this simplifies the backend inheritance.
backends are now always qobjects, there's no practical reason why it
would be any other way anyway, or more specifically since there's no use
for multi-inheritance there's no point in doing it
parent b88f11a7
......@@ -44,7 +44,6 @@ bool AbstractDrKonqiBackend::init()
}
KCrashBackend::KCrashBackend()
: QObject()
, AbstractDrKonqiBackend()
, m_state(ProcessRunning)
{
......
......@@ -11,9 +11,11 @@
class CrashedApplication;
class DebuggerManager;
class AbstractDrKonqiBackend
class AbstractDrKonqiBackend : public QObject
{
Q_OBJECT
public:
using QObject::QObject;
virtual ~AbstractDrKonqiBackend();
virtual bool init();
......@@ -36,7 +38,7 @@ private:
DebuggerManager *m_debuggerManager = nullptr;
};
class KCrashBackend : public QObject, public AbstractDrKonqiBackend
class KCrashBackend : public AbstractDrKonqiBackend
{
Q_OBJECT
public:
......
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