forked from qt-creator/qt-creator
Fix warning in taskmodel
Change-Id: Ie1c0c7112c2de7af51fb96415155b3b723a488a8 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -341,7 +341,7 @@ void TaskModel::setFileNotFound(const QModelIndex &idx, bool b)
|
||||
/////
|
||||
|
||||
TaskFilterModel::TaskFilterModel(TaskModel *sourceModel, QObject *parent) : QAbstractItemModel(parent),
|
||||
m_sourceModel(sourceModel), m_mappingUpToDate(false)
|
||||
m_mappingUpToDate(false), m_sourceModel(sourceModel)
|
||||
{
|
||||
Q_ASSERT(m_sourceModel);
|
||||
connect(m_sourceModel, SIGNAL(rowsInserted(QModelIndex,int,int)),
|
||||
|
||||
Reference in New Issue
Block a user