From bc5c031e43eff506c925682349dd2a52b89d6565 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Mon, 8 Feb 2010 22:31:38 +0100 Subject: Delete models explicitly rather than relying on booleans It is more clear in the end. Also fixed deleting of the mode list model. --- src/gui/widgets/dropdown.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/dropdown.h') diff --git a/src/gui/widgets/dropdown.h b/src/gui/widgets/dropdown.h index eda7b1fa..568e20a5 100644 --- a/src/gui/widgets/dropdown.h +++ b/src/gui/widgets/dropdown.h @@ -45,7 +45,7 @@ class DropDown : public gcn::DropDown * @param listBox the listBox to use. * @see ListModel, ScrollArea, ListBox. */ - DropDown(gcn::ListModel *listModel = NULL, bool deleteModel = false); + DropDown(gcn::ListModel *listModel = 0); ~DropDown(); -- cgit v1.2.3-70-g09d2