X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fauthhandler.cpp;h=98aeac6ada79ac632d30c7bdfeb2de9909de3286;hp=eb8a00c92eaac7d43f7ce98bf7aebf15f05f3949;hb=HEAD;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650 diff --git a/src/common/authhandler.cpp b/src/common/authhandler.cpp index eb8a00c9..98aeac6a 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-2022 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);