diff --git a/src/plugins/bookmarks/bookmarkmanager.cpp b/src/plugins/bookmarks/bookmarkmanager.cpp index 5263a7ee132..a42c3468c8d 100644 --- a/src/plugins/bookmarks/bookmarkmanager.cpp +++ b/src/plugins/bookmarks/bookmarkmanager.cpp @@ -344,7 +344,7 @@ QModelIndex BookmarkManager::index(int row, int column, const QModelIndex &paren if (parent.isValid()) return QModelIndex(); else - return createIndex(row, column, 0); + return createIndex(row, column); } QModelIndex BookmarkManager::parent(const QModelIndex &) const diff --git a/src/plugins/projectexplorer/devicesupport/deviceprocesslist.cpp b/src/plugins/projectexplorer/devicesupport/deviceprocesslist.cpp index d150048788b..809594753ca 100644 --- a/src/plugins/projectexplorer/devicesupport/deviceprocesslist.cpp +++ b/src/plugins/projectexplorer/devicesupport/deviceprocesslist.cpp @@ -78,7 +78,7 @@ bool DeviceProcessList::hasChildren(const QModelIndex &parent) const QModelIndex DeviceProcessList::index(int row, int column, const QModelIndex &parent) const { - return hasIndex(row, column, parent) ? createIndex(row, column, 0) : QModelIndex(); + return hasIndex(row, column, parent) ? createIndex(row, column) : QModelIndex(); } diff --git a/src/plugins/projectexplorer/taskmodel.cpp b/src/plugins/projectexplorer/taskmodel.cpp index f1d27acda1f..4d3a933e4ad 100644 --- a/src/plugins/projectexplorer/taskmodel.cpp +++ b/src/plugins/projectexplorer/taskmodel.cpp @@ -360,7 +360,7 @@ QModelIndex TaskFilterModel::index(int row, int column, const QModelIndex &paren { if (parent.isValid()) return QModelIndex(); - return createIndex(row, column, 0); + return createIndex(row, column); } QModelIndex TaskFilterModel::parent(const QModelIndex &child) const diff --git a/src/plugins/valgrind/xmlprotocol/errorlistmodel.cpp b/src/plugins/valgrind/xmlprotocol/errorlistmodel.cpp index f4c214b3915..6ae70143d42 100644 --- a/src/plugins/valgrind/xmlprotocol/errorlistmodel.cpp +++ b/src/plugins/valgrind/xmlprotocol/errorlistmodel.cpp @@ -87,7 +87,7 @@ QModelIndex ErrorListModel::index(int row, int column, const QModelIndex &parent QTC_ASSERT(parent.model() == this, qt_noop()); return QModelIndex(); } - return createIndex(row, column, 0); + return createIndex(row, column); } QModelIndex ErrorListModel::parent(const QModelIndex &child) const