Commit fc16156f authored by Tobias Hunger's avatar Tobias Hunger Committed by hjk
Browse files

TaskHub: Make instance() return a QObject*



Change-Id: I508cd2df7ad8de02c8e46fe65e6905d1a41b2bb9
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 50945b0a
......@@ -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;
}
......
......@@ -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,
......
Markdown is supported
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