summaryrefslogtreecommitdiff
path: root/src/gui/connection.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-03-09 12:24:36 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-03-09 12:24:36 +0000
commit76185faa619fd06576f2e67e1f2d5f1fb659e340 (patch)
tree48a7bdff1cbee3f0485a84991c9beac6bd9929a6 /src/gui/connection.cpp
parente5f795ad9952b8bba6993ee3e324b22a0f104816 (diff)
downloadmana-client-76185faa619fd06576f2e67e1f2d5f1fb659e340.tar.gz
mana-client-76185faa619fd06576f2e67e1f2d5f1fb659e340.tar.bz2
mana-client-76185faa619fd06576f2e67e1f2d5f1fb659e340.tar.xz
mana-client-76185faa619fd06576f2e67e1f2d5f1fb659e340.zip
Removed coordinate arguments from ProgressBar ctor.
Diffstat (limited to 'src/gui/connection.cpp')
-rw-r--r--src/gui/connection.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gui/connection.cpp b/src/gui/connection.cpp
index 36fa316d..89f145c4 100644
--- a/src/gui/connection.cpp
+++ b/src/gui/connection.cpp
@@ -51,12 +51,11 @@ ConnectionDialog::ConnectionDialog():
Button *cancelButton = new Button("Cancel", "cancelButton",
&connectionActionListener);
- cancelButton->setPosition(5, 100 - 5 - cancelButton->getHeight());
+ mProgressBar = new ProgressBar(0.0, 200 - 10, 20, 128, 128, 128);
+ gcn::Label *label = new gcn::Label("Connecting...");
- mProgressBar = new ProgressBar(0.0, 5, cancelButton->getY() - 25,
- 200 - 10, 20, 128, 128, 128);
- gcn::Label *label;
- label = new gcn::Label("Connecting...");
+ cancelButton->setPosition(5, 100 - 5 - cancelButton->getHeight());
+ mProgressBar->setPosition(5, cancelButton->getY() - 25);
label->setPosition(5, mProgressBar->getY() - 25);
add(label);