diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-12-12 21:20:12 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-12-12 21:20:12 (GMT) |
commit | 89728bd0879af2cbca2a0f7cdac0b12e46e4f60d (patch) | |
tree | 93b098ad918171379b573f6c1ae47faa476e1987 | |
parent | 3a2e16b04ceaa5db4c385cf55760b55f6af7c663 (diff) | |
download | swift-contrib-89728bd0879af2cbca2a0f7cdac0b12e46e4f60d.zip swift-contrib-89728bd0879af2cbca2a0f7cdac0b12e46e4f60d.tar.bz2 |
Remove obsolete Client::connect(JID).
-rw-r--r-- | Swiften/Client/CoreClient.cpp | 5 | ||||
-rw-r--r-- | Swiften/Client/CoreClient.h | 1 |
2 files changed, 0 insertions, 6 deletions
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); /** |