X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fselectionmodelsynchronizer.h;h=b830d31ad2c41f4a391d18471dc15901d3222a5c;hp=cad7edfa1a2362769beaa4f7bbc280b3f358437c;hb=6eefdfc697067d184a589fc8a231b16316c09106;hpb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f diff --git a/src/client/selectionmodelsynchronizer.h b/src/client/selectionmodelsynchronizer.h index cad7edfa..b830d31a 100644 --- a/src/client/selectionmodelsynchronizer.h +++ b/src/client/selectionmodelsynchronizer.h @@ -57,8 +57,8 @@ private slots: private: QAbstractItemModel *_model; QItemSelectionModel _selectionModel; - bool _changeCurrentEnabled; - bool _changeSelectionEnabled; + bool _changeCurrentEnabled{true}; + bool _changeSelectionEnabled{true}; bool checkBaseModel(QItemSelectionModel *model); QModelIndex mapFromSource(const QModelIndex &sourceIndex, const QItemSelectionModel *selectionModel);