X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fircuser.cpp;h=95892c49b2c258bc032ad64b19b263a0b6999670;hp=1dbb0f08a177e958df9f5538af7d6c82b425533a;hb=6f0a153a674317d77233139fc50a2985af86e36e;hpb=e1801627e8e13e7eacbf0c59622a6adf20fcd4cd diff --git a/src/common/ircuser.cpp b/src/common/ircuser.cpp index 1dbb0f08..95892c49 100644 --- a/src/common/ircuser.cpp +++ b/src/common/ircuser.cpp @@ -47,10 +47,7 @@ IrcUser::IrcUser(const QString &hostmask, Network *network) : SyncableObject(net _codecForDecoding(0) { updateObjectName(); - - #ifdef HAVE_QCA2 - _cipher = 0; - #endif + } IrcUser::~IrcUser() { @@ -314,16 +311,3 @@ void IrcUser::setLastSpokenTo(BufferId buffer, const QDateTime &time) { _lastSpokenTo[buffer] = time; emit lastSpokenToUpdated(buffer, time); } - -#ifdef HAVE_QCA2 -Cipher* IrcUser::cipher() { - if(!_cipher) - _cipher = new Cipher(); - return _cipher; -} -#endif - -void IrcUser::setEncrypted(bool e) { - Q_UNUSED(e); - // TODO -} \ No newline at end of file