From 6f056c9ef8dd9f104c556cdbe1cc371db9e25e52 Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Wed, 14 Mar 2012 12:42:09 +0100
Subject: [PATCH] debugger: remove unneeded SourceAgent inheritance from
 QObject
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Change-Id: I4367f9ed8198abfc8a6afacbfbf8df5a777a4bf6
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>
---
 src/plugins/debugger/sourceagent.cpp | 2 +-
 src/plugins/debugger/sourceagent.h   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/plugins/debugger/sourceagent.cpp b/src/plugins/debugger/sourceagent.cpp
index a0c944fbf1c..fea3e3ad983 100644
--- a/src/plugins/debugger/sourceagent.cpp
+++ b/src/plugins/debugger/sourceagent.cpp
@@ -107,7 +107,7 @@ SourceAgentPrivate::~SourceAgentPrivate()
 }
 
 SourceAgent::SourceAgent(DebuggerEngine *engine)
-    : QObject(0), d(new SourceAgentPrivate)
+    : d(new SourceAgentPrivate)
 {
     d->engine = engine;
 }
diff --git a/src/plugins/debugger/sourceagent.h b/src/plugins/debugger/sourceagent.h
index 020eda2ecec..b98f3250eb7 100644
--- a/src/plugins/debugger/sourceagent.h
+++ b/src/plugins/debugger/sourceagent.h
@@ -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);
-- 
GitLab