aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/taskmodel.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2018-06-27 15:26:46 +0200
committerEike Ziller <eike.ziller@qt.io>2018-06-28 11:09:07 +0000
commit702d6a69148091b23023aeafdb697919dff1a1d6 (patch)
treea18a51d46f6f8fb7c40c65ea89a9f049b73c9601 /src/plugins/projectexplorer/taskmodel.h
parent85b0f4dc9138c5f84d683cd5943cd01f5ea38ed6 (diff)
TaskModel: Bit of code cleanup
Do not send rowsRemoved before source model has removed the rows from its data. Add some QTC_ASSERTS and comments. Replace trivial slot by lambda. Change-Id: I7a0df404f757fca5f7724be66e516824ecd292dd Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/projectexplorer/taskmodel.h')
-rw-r--r--src/plugins/projectexplorer/taskmodel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/taskmodel.h b/src/plugins/projectexplorer/taskmodel.h
index 0b761adabb..b2b1c933e2 100644
--- a/src/plugins/projectexplorer/taskmodel.h
+++ b/src/plugins/projectexplorer/taskmodel.h
@@ -159,7 +159,6 @@ private:
void handleNewRows(const QModelIndex &index, int first, int last);
void handleRowsAboutToBeRemoved(const QModelIndex &index, int first, int last);
void handleDataChanged(const QModelIndex &top, const QModelIndex &bottom);
- void handleReset();
QModelIndex mapToSource(const QModelIndex &index) const;
void invalidateFilter();