summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-15 14:34:08 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-15 14:34:08 -0600
commit1b44c6d73784c0f222c3d1f09214936acb5561f7 (patch)
tree15891c17cf1a8285dfbbf71b14052345b4ab89c6 /src/gui/popupmenu.cpp
parent72278cfec112e06b50ba06185fb59a2ce390d955 (diff)
downloadmana-1b44c6d73784c0f222c3d1f09214936acb5561f7.tar.gz
mana-1b44c6d73784c0f222c3d1f09214936acb5561f7.tar.bz2
mana-1b44c6d73784c0f222c3d1f09214936acb5561f7.tar.xz
mana-1b44c6d73784c0f222c3d1f09214936acb5561f7.zip
Fix some memory problems
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r--src/gui/popupmenu.cpp1
1 files changed, 1 insertions, 0 deletions
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);