summaryrefslogtreecommitdiff
path: root/src/gui/connection.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-10-18 15:55:52 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-10-18 15:55:52 +0000
commitd0333c99e0ff4c5510875bf8993056875d6c93af (patch)
treea0bb673db36b0cc0ca750500c6409b08e6eb40b6 /src/gui/connection.cpp
parentd3175115354bb2417f01877a96d0068e2f2c875d (diff)
downloadmana-d0333c99e0ff4c5510875bf8993056875d6c93af.tar.gz
mana-d0333c99e0ff4c5510875bf8993056875d6c93af.tar.bz2
mana-d0333c99e0ff4c5510875bf8993056875d6c93af.tar.xz
mana-d0333c99e0ff4c5510875bf8993056875d6c93af.zip
Header, whitespace and intendation cleanups.
Diffstat (limited to 'src/gui/connection.cpp')
-rw-r--r--src/gui/connection.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/connection.cpp b/src/gui/connection.cpp
index bfa69f23..ecb98aee 100644
--- a/src/gui/connection.cpp
+++ b/src/gui/connection.cpp
@@ -29,7 +29,6 @@
#include "progressbar.h"
#include "../game.h"
-#include "../graphics.h"
#include "../log.h"
#include "../main.h"
@@ -50,12 +49,12 @@ ConnectionDialog::ConnectionDialog():
200 - 10, 20, 128, 128, 128);
mLabel = new gcn::Label("Connecting...");
mLabel->setPosition(5, mProgressBar->getY() - 25);
-
+
add(mLabel);
add(mCancelButton);
add(mProgressBar);
setLocationRelativeTo(getParent());
-
+
const char *host = iptostring(map_address);
openConnection(host, map_port);
}
@@ -73,7 +72,7 @@ void ConnectionDialog::logic()
}
mProgressBar->setProgress(mProgress);
Window::logic();
-
+
switch (mStatus)
{
case NET_CONNECTING: