From c82f833ffdeeb96df01acc3db1d9470723a2eb2f Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 1 May 2009 22:41:12 -0400 Subject: Add factory method so that the root item can create new ones --- sigmodr/tree/RootTreeItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sigmodr/tree/RootTreeItem.cpp') diff --git a/sigmodr/tree/RootTreeItem.cpp b/sigmodr/tree/RootTreeItem.cpp index 9e55e0e6..08cc7ce7 100644 --- a/sigmodr/tree/RootTreeItem.cpp +++ b/sigmodr/tree/RootTreeItem.cpp @@ -31,5 +31,5 @@ RootTreeItem::RootTreeItem() : void RootTreeItem::addGame(Game* game) { -// m_children.append(new TreeItem(EntryGame, game, this)); + m_children.append(newTreeItem(EntryGame, game, this)); } -- cgit