From fc16156ff1d0efa6053cc9bb88a899dfbd0d6fb7 Mon Sep 17 00:00:00 2001
From: Tobias Hunger <tobias.hunger@digia.com>
Date: Fri, 30 Aug 2013 12:30:17 +0200
Subject: [PATCH] TaskHub: Make instance() return a QObject*

Change-Id: I508cd2df7ad8de02c8e46fe65e6905d1a41b2bb9
Reviewed-by: hjk <hjk121@nokiamail.com>
---
 src/plugins/projectexplorer/taskhub.cpp | 2 +-
 src/plugins/projectexplorer/taskhub.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/projectexplorer/taskhub.cpp b/src/plugins/projectexplorer/taskhub.cpp
index 014f647c43c..1cc702050bf 100644
--- a/src/plugins/projectexplorer/taskhub.cpp
+++ b/src/plugins/projectexplorer/taskhub.cpp
@@ -102,7 +102,7 @@ void TaskHub::addCategory(Core::Id categoryId, const QString &displayName, bool
     emit m_instance->categoryAdded(categoryId, displayName, visible);
 }
 
-TaskHub *TaskHub::instance()
+QObject *TaskHub::instance()
 {
     return m_instance;
 }
diff --git a/src/plugins/projectexplorer/taskhub.h b/src/plugins/projectexplorer/taskhub.h
index 80aede50aef..0c4f82e7724 100644
--- a/src/plugins/projectexplorer/taskhub.h
+++ b/src/plugins/projectexplorer/taskhub.h
@@ -43,7 +43,7 @@ class PROJECTEXPLORER_EXPORT TaskHub : public QObject
 {
     Q_OBJECT
 public:
-    static TaskHub *instance();
+    static QObject *instance();
 
     // Convenience overload
     static void addTask(Task::TaskType type, const QString &description,
-- 
GitLab