X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fselectionmodelsynchronizer.h;h=b830d31ad2c41f4a391d18471dc15901d3222a5c;hb=f9cd845a9119e0abf450a91d8802f5c1822dd638;hp=cad7edfa1a2362769beaa4f7bbc280b3f358437c;hpb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;p=quassel.git 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);