diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-07-09 09:52:09 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2018-07-09 09:33:52 +0000 |
commit | e152b1c46882ca352b96dd5e854041d67b84f4c6 (patch) | |
tree | fb50793065cf9746d667d4ee14729b630f22b39f /src/plugins/projectexplorer/taskmodel.h | |
parent | 943f499fe40970ecb76be8615ec990a35800668e (diff) |
Fix crash when filtering out warnings from issues pane
Do not send endRemoveRows if we never sent beginRemoveRows.
Fix up of 702d6a69148091b23023aeafdb697919dff1a1d6
Task-number: QTCREATORBUG-20741
Change-Id: If22a18e6426c8b4041924a170d5927ab9d11ccdf
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/taskmodel.h')
-rw-r--r-- | src/plugins/projectexplorer/taskmodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/taskmodel.h b/src/plugins/projectexplorer/taskmodel.h index b2b1c933e2..4b2757c289 100644 --- a/src/plugins/projectexplorer/taskmodel.h +++ b/src/plugins/projectexplorer/taskmodel.h @@ -165,6 +165,7 @@ private: void updateMapping() const; bool filterAcceptsTask(const Task &task) const; + bool m_beginRemoveRowsSent = false; bool m_includeUnknowns; bool m_includeWarnings; bool m_includeErrors; |