diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2018-07-12 22:17:17 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2018-07-16 10:01:53 +0000 |
commit | 8d19333075b10d4b52c302224f8ed99aab0ec13f (patch) | |
tree | b54695475f5fa54d864f2774b715a3c73c28b8fe /src/plugins/projectexplorer/taskmodel.cpp | |
parent | af8bd1238724e3d578b9a16e4ffa88a6a046dca6 (diff) |
ProjectExplorer: Modernize
modernize-use-auto
modernize-use-nullptr
modernize-use-override
modernize-use-using
modernize-use-default-member-init
modernize-use-equals-default
modernize-use-transparent-functors
Change-Id: Iebed22caa2e733d292f334e956e3d16b844e14e3
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
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 0b3381fadc..a7ac388487 100644 --- a/src/plugins/projectexplorer/taskmodel.cpp +++ b/src/plugins/projectexplorer/taskmodel.cpp @@ -161,7 +161,7 @@ void TaskModel::updateTaskLineNumber(unsigned int id, int line) void TaskModel::clearTasks(Core::Id categoryId) { - typedef QHash<Core::Id,CategoryData>::ConstIterator IdCategoryConstIt; + using IdCategoryConstIt = QHash<Core::Id,CategoryData>::ConstIterator; if (!categoryId.isValid()) { if (m_tasks.isEmpty()) |