From 1b44c6d73784c0f222c3d1f09214936acb5561f7 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Wed, 15 Apr 2009 14:34:08 -0600 Subject: Fix some memory problems --- src/gui/popupmenu.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/popupmenu.cpp') diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index 5142482f..a78e620d 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -55,6 +55,7 @@ PopupMenu::PopupMenu(): mFloorItem(NULL), mItem(NULL) { + setDefaultSize(0, 0, 0, 0); setResizable(false); setTitleBarHeight(0); setShowTitle(false); -- cgit v1.2.3-70-g09d2