forked from qt-creator/qt-creator
Initialize member field.
Showed up in valgrind as being used uninitialized. Change-Id: I77618ff982c12ff7b1d7f5e285cb9dd1810c116c Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
46deab8377
commit
3c441c6449
@@ -341,7 +341,7 @@ void TaskModel::setFileNotFound(const QModelIndex &idx, bool b)
|
||||
/////
|
||||
|
||||
TaskFilterModel::TaskFilterModel(TaskModel *sourceModel, QObject *parent) : QAbstractItemModel(parent),
|
||||
m_sourceModel(sourceModel)
|
||||
m_sourceModel(sourceModel), m_mappingUpToDate(false)
|
||||
{
|
||||
Q_ASSERT(m_sourceModel);
|
||||
connect(m_sourceModel, SIGNAL(rowsInserted(QModelIndex,int,int)),
|
||||
|
||||
Reference in New Issue
Block a user