summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
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_);
}
}