modernize: Prefer default member init over ctor init
[quassel.git] / src / core / oidentdconfiggenerator.h
index 7e13d58..ee3e53c 100644 (file)
@@ -54,8 +54,8 @@ class OidentdConfigGenerator : public QObject
 {
     Q_OBJECT
 public:
-    explicit OidentdConfigGenerator(QObject *parent = 0);
-    ~OidentdConfigGenerator();
+    explicit OidentdConfigGenerator(QObject *parent = nullptr);
+    ~OidentdConfigGenerator() override;
 
 public slots:
     bool addSocket(const CoreIdentity *identity, const QHostAddress &localAddress,
@@ -72,7 +72,7 @@ private:
     bool parseConfig(bool readQuasselStanzas = false);
     bool lineByUs(const QByteArray &line);
 
-    bool _initialized;
+    bool _initialized{false};
     bool _strict;
     QDateTime _lastSync;
     QFile *_configFile;