summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/taskwindow.cpp
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2015-06-23 13:15:17 +0200
committerhjk <hjk@theqtcompany.com>2015-06-23 12:22:19 +0000
commit1c119185d068018b3d383f4f00f693299ba6313e (patch)
tree438550acfe89c17ab9cb289ea45fe9247854527c /src/plugins/projectexplorer/taskwindow.cpp
parentb646c37f0ed3af9b6297a684e8a5406d28063a63 (diff)
downloadqt-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.cpp2
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();