TaskListPlugin: Clean up APIs

Clean up singleton APIs.

Task-number: QTCREATORBUG-9761
Change-Id: I42b691449dea75dc88f37db107221d4421f73529
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Tobias Hunger
2013-08-02 12:18:06 +02:00
committed by hjk
parent 6e4aa21aee
commit f67275dc15
4 changed files with 17 additions and 25 deletions

View File

@@ -54,7 +54,7 @@ void StopMonitoringHandler::handle(const ProjectExplorer::Task &task)
{
QTC_ASSERT(canHandle(task), return);
Q_UNUSED(task);
TaskList::TaskListPlugin::instance()->stopMonitoring();
TaskList::TaskListPlugin::stopMonitoring();
}
QAction *StopMonitoringHandler::createAction(QObject *parent) const