diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-09-21 16:15:44 +0200 |
---|---|---|
committer | Daniel Teske <daniel.teske@digia.com> | 2012-09-24 14:57:28 +0200 |
commit | 8dd13f4d3070ed0ea529a1fcee3263d444a3d8b6 (patch) | |
tree | 6e5862c2afaf434ecbb48462709e07ca2455196a /src/plugins/projectexplorer/taskmodel.cpp | |
parent | 91e9cffdca1f61190a388337175cf1820c4caa43 (diff) |
Remove ambiguous literal 0 from createIndex calls.
This is now a build-error. The default value is a null void pointer anyway.
Change-Id: I92d0faf5152ec53c8e84ba4982c151a09aa33146
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/projectexplorer/taskmodel.cpp')
-rw-r--r-- | src/plugins/projectexplorer/taskmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/taskmodel.cpp b/src/plugins/projectexplorer/taskmodel.cpp index f1d27acda1..4d3a933e4a 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 |