summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-05-20 22:11:27 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-05-20 22:11:27 (GMT)
commitfbd54ef16ef202b6273f89f0d7b50fdd6b6dec68 (patch)
tree80b0d4b90ba2ccc1d85d4aafeebfe390ba5e3964 /Swift
parent1ccf610d5d74d92d5d38c38c1cb9ac490f13d489 (diff)
downloadswift-fbd54ef16ef202b6273f89f0d7b50fdd6b6dec68.zip
swift-fbd54ef16ef202b6273f89f0d7b50fdd6b6dec68.tar.bz2
Remko debug output
Diffstat (limited to 'Swift')
-rw-r--r--Swift/Controllers/MainController.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp
index 5be8e46..13426eb 100644
--- a/Swift/Controllers/MainController.cpp
+++ b/Swift/Controllers/MainController.cpp
@@ -356,11 +356,10 @@ void MainController::handleError(const ClientError& error) {
signOut();
loginWindow_->setMessage(message);
} else {
- std::cout << "Yay, error" << std::endl;
if (!lastDisconnectError_) {
message = "Disconnected from " + jid_.getDomain() + ": " + message;
lastDisconnectError_ = boost::shared_ptr<ErrorEvent>(new ErrorEvent(JID(jid_.getDomain()), message));
- std::cout << message << std::endl;
+ //std::cout << message << std::endl;
eventController_->handleIncomingEvent(lastDisconnectError_);
}
}