forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user