forked from qt-creator/qt-creator
TaskHub: Add convenience function to add a task and clean up users
Change-Id: I5c76f8af720092d4e47b1a9fa889fb3a7010f21f Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -268,7 +268,7 @@ TaskWindow::TaskWindow() : d(new TaskWindowPrivate)
|
||||
|
||||
d->m_categoriesButton->setMenu(d->m_categoriesMenu);
|
||||
|
||||
TaskHub *hub = TaskHub::instance();
|
||||
QObject *hub = TaskHub::instance();
|
||||
connect(hub, SIGNAL(categoryAdded(Core::Id,QString,bool)),
|
||||
this, SLOT(addCategory(Core::Id,QString,bool)));
|
||||
connect(hub, SIGNAL(taskAdded(ProjectExplorer::Task)),
|
||||
|
||||
Reference in New Issue
Block a user