X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fauthhandler.cpp;h=9e7b5e76c65081d7df61a621da9401f798325446;hp=3489e1ad95e0c437b033efcf6545dfffc69cd0a8;hb=c0d6dc0dec628f2e143e37ecc95cec45e636f8a5;hpb=cc6e7c08709c4e761e2fd9c2e322751015497003 diff --git a/src/common/authhandler.cpp b/src/common/authhandler.cpp index 3489e1ad..9e7b5e76 100644 --- a/src/common/authhandler.cpp +++ b/src/common/authhandler.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2019 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);