* style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42722 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -198,8 +198,7 @@ DevicesView::RebuildDevicesOutline()
|
||||
AddChildrenToOutlineByConnection(fDevices[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (fOrderBy == ORDER_BY_CATEGORY) {
|
||||
} else if (fOrderBy == ORDER_BY_CATEGORY) {
|
||||
// Add all categories to the outline
|
||||
CategoryMapIterator iter;
|
||||
for (iter = fCategoryMap.begin(); iter != fCategoryMap.end(); iter++) {
|
||||
@@ -212,10 +211,10 @@ DevicesView::RebuildDevicesOutline()
|
||||
|
||||
iter = fCategoryMap.find(category);
|
||||
if (iter == fCategoryMap.end()) {
|
||||
std::cerr << "Tried to add device without category, file a bug\n";
|
||||
std::cerr
|
||||
<< "Tried to add device without category, file a bug\n";
|
||||
continue;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
fDevicesOutline->AddUnder(fDevices[i], iter->second);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user