diff options
author | hjk <hjk@theqtcompany.com> | 2015-06-23 13:15:17 +0200 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-06-23 12:22:19 +0000 |
commit | 1c119185d068018b3d383f4f00f693299ba6313e (patch) | |
tree | 438550acfe89c17ab9cb289ea45fe9247854527c /src/plugins/projectexplorer/taskwindow.cpp | |
parent | b646c37f0ed3af9b6297a684e8a5406d28063a63 (diff) | |
download | qt-creator-1c119185d068018b3d383f4f00f693299ba6313e.tar.gz |
Tasks: Remove other uses of Id::uniqueIdentifier()
Ids can be compared and tested for default-constructedness without.
Change-Id: I410c8a3922faa32fa27a090ea8fba7562a9a0231
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/taskwindow.cpp')
-rw-r--r-- | src/plugins/projectexplorer/taskwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/taskwindow.cpp b/src/plugins/projectexplorer/taskwindow.cpp index a7e3415125..d069a50f6d 100644 --- a/src/plugins/projectexplorer/taskwindow.cpp +++ b/src/plugins/projectexplorer/taskwindow.cpp @@ -384,7 +384,7 @@ void TaskWindow::clearTasks(Core::Id categoryId) void TaskWindow::setCategoryVisibility(Core::Id categoryId, bool visible) { - if (categoryId.uniqueIdentifier() == 0) + if (!categoryId.isValid()) return; QList<Core::Id> categories = d->m_filter->filteredCategories(); |