summaryrefslogtreecommitdiff
path: root/src/gui/chargedialog.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-09-23 23:47:32 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-09-23 23:47:32 +0000
commit7ca971f04907031b80ffbcb159e5af2f595e3af8 (patch)
treec7f0f210325acb35f63071797407d266ba7e9e35 /src/gui/chargedialog.cpp
parentc3d7827d18b725d2dff94e08a17474d607bb43dd (diff)
downloadmana-7ca971f04907031b80ffbcb159e5af2f595e3af8.tar.gz
mana-7ca971f04907031b80ffbcb159e5af2f595e3af8.tar.bz2
mana-7ca971f04907031b80ffbcb159e5af2f595e3af8.tar.xz
mana-7ca971f04907031b80ffbcb159e5af2f595e3af8.zip
Merged most of the changes in biggeruniverse's second memory cleanup patch.
Diffstat (limited to 'src/gui/chargedialog.cpp')
-rw-r--r--src/gui/chargedialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/chargedialog.cpp b/src/gui/chargedialog.cpp
index 797d5129..c6cee598 100644
--- a/src/gui/chargedialog.cpp
+++ b/src/gui/chargedialog.cpp
@@ -33,14 +33,14 @@
ChargeDialog::ChargeDialog():
Window("")
{
- setContentSize(180,70);
- progBar = new ProgressBar(0.0f,20,40,140,25,128,128,128);
+ setContentSize(180, 70);
+ progBar = new ProgressBar(0.0f, 20, 40, 140, 25, 128, 128, 128);
add(progBar);
}
ChargeDialog::~ChargeDialog()
{
-
+ delete progBar;
}
void ChargeDialog::action(const std::string& eventId)