X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fauthhandler.cpp;h=9e7b5e76c65081d7df61a621da9401f798325446;hp=eb8a00c92eaac7d43f7ce98bf7aebf15f05f3949;hb=c0d6dc0dec628f2e143e37ecc95cec45e636f8a5;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650 diff --git a/src/common/authhandler.cpp b/src/common/authhandler.cpp index eb8a00c9..9e7b5e76 100644 --- a/src/common/authhandler.cpp +++ b/src/common/authhandler.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -28,12 +28,12 @@ AuthHandler::AuthHandler(QObject* parent) : QObject(parent) {} -QTcpSocket* AuthHandler::socket() const +QSslSocket* AuthHandler::socket() const { return _socket; } -void AuthHandler::setSocket(QTcpSocket* socket) +void AuthHandler::setSocket(QSslSocket* socket) { _socket = socket; connect(socket, selectOverload(&QTcpSocket::error), this, &AuthHandler::onSocketError);