forked from qt-creator/qt-creator
Auto relase TaskFileFactory.
This commit is contained in:
@@ -56,7 +56,7 @@ bool TaskListPlugin::initialize(const QStringList &arguments, QString *errorMess
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
TaskListManager * manager = new TaskListManager(this);
|
TaskListManager * manager = new TaskListManager(this);
|
||||||
addObject(new TaskFileFactory(manager));
|
addAutoReleasedObject(new TaskFileFactory(manager));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user