X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fauthhandler.cpp;h=9e7b5e76c65081d7df61a621da9401f798325446;hb=64323f7d66dd9a631b86ff07732c3702933d3846;hp=eb8a00c92eaac7d43f7ce98bf7aebf15f05f3949;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;p=quassel.git 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);