modernize: Replace most remaining old-style connects by PMF ones
[quassel.git] / src / qtui / settingspages / ignorelistmodel.h
index 4a9f9c6..9a3a44b 100644 (file)
@@ -42,12 +42,12 @@ public:
 
     QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override;
 
-    inline QModelIndex parent(const QModelIndex &) const override { return QModelIndex(); }
+    inline QModelIndex parent(const QModelIndex &) const override { return {}; }
 
     inline int rowCount(const QModelIndex &parent = QModelIndex()) const override;
     inline int columnCount(const QModelIndex &parent = QModelIndex()) const override;
 
-    inline bool configChanged() const { return _configChanged; }
+    inline bool hasConfigChanged() const { return _configChanged; }
     inline bool isReady() const { return _modelReady; }
 
     const IgnoreListManager::IgnoreListItem &ignoreListItemAt(int row) const;
@@ -67,8 +67,8 @@ signals:
 
 private:
     ClientIgnoreListManager _clonedIgnoreListManager;
-    bool _configChanged;
-    bool _modelReady;
+    bool _configChanged{false};
+    bool _modelReady{false};
 
     const IgnoreListManager &ignoreListManager() const;
     IgnoreListManager &ignoreListManager();