uisupport: Provide helpers for dealing with widget changes
[quassel.git] / src / common / authhandler.h
index 7fb9127..0d30e66 100644 (file)
@@ -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};
 };