X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fauthhandler.h;h=0d30e6624f42faf0a74b20a765debbb5add88ef1;hb=fcacaaf16551524c7ebb6114254d005274cc3d63;hp=7fb91277101529175f5de09131dd1d6d567fee15;hpb=92fc8c5b119111a35ab8423c3cbde5b2a022badf;p=quassel.git diff --git a/src/common/authhandler.h b/src/common/authhandler.h index 7fb91277..0d30e662 100644 --- a/src/common/authhandler.h +++ b/src/common/authhandler.h @@ -33,7 +33,7 @@ class COMMON_EXPORT AuthHandler : public QObject Q_OBJECT public: - AuthHandler(QObject *parent = 0); + AuthHandler(QObject *parent = nullptr); QTcpSocket *socket() const; @@ -71,6 +71,6 @@ protected slots: private: void invalidMessage(); - QTcpSocket *_socket; // FIXME: should be a QSharedPointer? -> premature disconnect before the peer has taken over - bool _disconnectedSent; + QTcpSocket *_socket{nullptr}; // FIXME: should be a QSharedPointer? -> premature disconnect before the peer has taken over + bool _disconnectedSent{false}; };