summaryrefslogtreecommitdiff
path: root/src/gui/chargedialog.cpp
diff options
context:
space:
mode:
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)