diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-07 15:23:34 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-07 15:25:28 +0100 |
commit | 72f5288682f46af1f7c04c002172178c880e060b (patch) | |
tree | 444ef1af05fc74dd072ad2be51c6ff7ab7ce976e /src/gui/equipmentwindow.cpp | |
parent | be25d46954a98b2590b522de5f8aa470ba4f9e81 (diff) | |
download | mana-72f5288682f46af1f7c04c002172178c880e060b.tar.gz mana-72f5288682f46af1f7c04c002172178c880e060b.tar.bz2 mana-72f5288682f46af1f7c04c002172178c880e060b.tar.xz mana-72f5288682f46af1f7c04c002172178c880e060b.zip |
Fixed inconsistency in default window sizes
The default window sizes were all too small, since they were specified
in content size. On pressing "Reset Windows", the sizes would be
interpreted as such and apply alright.
The inconsistency is now removed, and the default window sizes are
always the size of the whole widget now, not just the contents.
Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/gui/equipmentwindow.cpp')
-rw-r--r-- | src/gui/equipmentwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp index e0246787..762ca8e8 100644 --- a/src/gui/equipmentwindow.cpp +++ b/src/gui/equipmentwindow.cpp @@ -38,9 +38,9 @@ EquipmentWindow::EquipmentWindow(Equipment *equipment): { setWindowName("Equipment"); setCloseButton(true); - setDefaultSize(5, 230, 200, 120); + setDefaultSize(5, 230, 200, 140); loadWindowState(); - mInventory = player_node->getInventory(); + mInventory = player_node->getInventory(); } EquipmentWindow::~EquipmentWindow() |