From 89728bd0879af2cbca2a0f7cdac0b12e46e4f60d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be> Date: Sun, 12 Dec 2010 22:20:12 +0100 Subject: Remove obsolete Client::connect(JID). diff --git a/Swiften/Client/CoreClient.cpp b/Swiften/Client/CoreClient.cpp index ed9302d..8658168 100644 --- a/Swiften/Client/CoreClient.cpp +++ b/Swiften/Client/CoreClient.cpp @@ -50,11 +50,6 @@ void CoreClient::connect() { connect(jid_.getDomain()); } -void CoreClient::connect(const JID& jid) { - jid_ = jid; - connect(); -} - void CoreClient::connect(const String& host) { disconnectRequested_ = false; assert(!connector_); diff --git a/Swiften/Client/CoreClient.h b/Swiften/Client/CoreClient.h index 146e219..a0c7092 100644 --- a/Swiften/Client/CoreClient.h +++ b/Swiften/Client/CoreClient.h @@ -71,7 +71,6 @@ namespace Swift { */ void disconnect(); - void connect(const JID& jid); void connect(const String& host); /** -- cgit v0.10.2-6-g49f6