summaryrefslogtreecommitdiff
path: root/src/gui/connection.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-04-03 15:12:30 +0000
committerDavid Athay <ko2fan@gmail.com>2008-04-03 15:12:30 +0000
commitf19980be3abfc418dfc1f1411e3a9fc161620afa (patch)
tree0c4e7c0659a062ce8b77ff67de4f53eb775fc689 /src/gui/connection.cpp
parentebaefeb62f81a63a12a888459daee3eaf5bb4e36 (diff)
downloadmana-f19980be3abfc418dfc1f1411e3a9fc161620afa.tar.gz
mana-f19980be3abfc418dfc1f1411e3a9fc161620afa.tar.bz2
mana-f19980be3abfc418dfc1f1411e3a9fc161620afa.tar.xz
mana-f19980be3abfc418dfc1f1411e3a9fc161620afa.zip
Added patch from
postalworker bug id=117 to fix cancel connecting to a sick server.
Diffstat (limited to 'src/gui/connection.cpp')
-rw-r--r--src/gui/connection.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/connection.cpp b/src/gui/connection.cpp
index e7923b9a..a9fa2a56 100644
--- a/src/gui/connection.cpp
+++ b/src/gui/connection.cpp
@@ -29,6 +29,7 @@
#include "progressbar.h"
#include "../main.h"
+#include "../log.h"
#include "../utils/gettext.h"
@@ -55,6 +56,7 @@ ConnectionDialog::ConnectionDialog(int previousState):
void ConnectionDialog::action(gcn::ActionEvent const &)
{
+ logger->log("Cancel pressed");
state = mPreviousState;
}