From 90e5ce7e958418f0d39d38112d33d3190a78baea Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 20 Mar 2005 12:50:26 +0000 Subject: TMW now uses latest Guichan CVS, and doesn't work with Guichan 0.2.0 anymore! Also fixed a crash on clicking wallpaper in login phase. --- src/gui/item_amount.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/item_amount.cpp') diff --git a/src/gui/item_amount.cpp b/src/gui/item_amount.cpp index e627659e..a63d5a8e 100644 --- a/src/gui/item_amount.cpp +++ b/src/gui/item_amount.cpp @@ -52,7 +52,7 @@ ItemAmountWindow::ItemAmountWindow(): itemAmountOkButton->setPosition(10, 40); itemAmountCancelButton->setPosition(60, 40); - // Assemble + // Assemble add(itemAmountLabel); add(itemAmountPlusButton); add(itemAmountMinusButton); @@ -66,7 +66,7 @@ ItemAmountWindow::ItemAmountWindow(): resetAmount(); - setSize(200, 80); + setContentSize(200, 80); setLocationRelativeTo(getParent()); } -- cgit v1.2.3-70-g09d2