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:
hjk
2012-03-14 12:42:09 +01:00
committed by hjk
parent 7521a1e1a3
commit 6f056c9ef8
2 changed files with 3 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ SourceAgentPrivate::~SourceAgentPrivate()
} }
SourceAgent::SourceAgent(DebuggerEngine *engine) SourceAgent::SourceAgent(DebuggerEngine *engine)
: QObject(0), d(new SourceAgentPrivate) : d(new SourceAgentPrivate)
{ {
d->engine = engine; d->engine = engine;
} }

View File

@@ -33,7 +33,7 @@
#ifndef DEBUGGER_SOURCE_AGENT_H #ifndef DEBUGGER_SOURCE_AGENT_H
#define DEBUGGER_SOURCE_AGENT_H #define DEBUGGER_SOURCE_AGENT_H
#include <QObject> #include <QString>
namespace Debugger { namespace Debugger {
@@ -42,7 +42,7 @@ class DebuggerEngine;
namespace Internal { namespace Internal {
class SourceAgentPrivate; class SourceAgentPrivate;
class SourceAgent : public QObject class SourceAgent
{ {
public: public:
explicit SourceAgent(Debugger::DebuggerEngine *engine); explicit SourceAgent(Debugger::DebuggerEngine *engine);