forked from qt-creator/qt-creator
debugger: remove unneeded SourceAgent inheritance from QObject
Change-Id: I4367f9ed8198abfc8a6afacbfbf8df5a777a4bf6 Reviewed-by: Robert Löhning <robert.loehning@nokia.com> Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -107,7 +107,7 @@ SourceAgentPrivate::~SourceAgentPrivate()
|
||||
}
|
||||
|
||||
SourceAgent::SourceAgent(DebuggerEngine *engine)
|
||||
: QObject(0), d(new SourceAgentPrivate)
|
||||
: d(new SourceAgentPrivate)
|
||||
{
|
||||
d->engine = engine;
|
||||
}
|
||||
|
@@ -33,7 +33,7 @@
|
||||
#ifndef DEBUGGER_SOURCE_AGENT_H
|
||||
#define DEBUGGER_SOURCE_AGENT_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QString>
|
||||
|
||||
namespace Debugger {
|
||||
|
||||
@@ -42,7 +42,7 @@ class DebuggerEngine;
|
||||
namespace Internal {
|
||||
|
||||
class SourceAgentPrivate;
|
||||
class SourceAgent : public QObject
|
||||
class SourceAgent
|
||||
{
|
||||
public:
|
||||
explicit SourceAgent(Debugger::DebuggerEngine *engine);
|
||||
|
Reference in New Issue
Block a user