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;
private:
ClientIgnoreListManager _clonedIgnoreListManager;
- bool _configChanged;
- bool _modelReady;
+ bool _configChanged{false};
+ bool _modelReady{false};
const IgnoreListManager &ignoreListManager() const;
IgnoreListManager &ignoreListManager();