Tracker: Remove two outdated comments, whitespace cleanup.

This commit is contained in:
Michael Lotz 2015-04-08 16:48:10 +02:00
parent d854f235bc
commit 0a74a00526
4 changed files with 3 additions and 5 deletions

View File

@ -1400,7 +1400,7 @@ SearchForSignatureEntryList::Relation(const Model* nodeModel,
{ {
int32 supportsMimeType = applicationModel->SupportsMimeType( int32 supportsMimeType = applicationModel->SupportsMimeType(
nodeModel->MimeType(), 0, true); nodeModel->MimeType(), 0, true);
switch (supportsMimeType) { switch (supportsMimeType) {
case kDoesNotSupportType: case kDoesNotSupportType:
return kNoRelation; return kNoRelation;

View File

@ -261,7 +261,6 @@ private:
bool fHaveCommonPreferredApp; bool fHaveCommonPreferredApp;
SearchForSignatureEntryList* fIterator; SearchForSignatureEntryList* fIterator;
// private copy of the iterator pointer
typedef BPoseView _inherited; typedef BPoseView _inherited;
}; };

View File

@ -1487,7 +1487,6 @@ BPoseView::AddPosesTask(void* castToParams)
delete posesResult; delete posesResult;
delete container; delete container;
// build attributes menu based on mime types we've added
if (lock.Lock()) if (lock.Lock())
view->fAddPosesThreads.erase(threadID); view->fAddPosesThreads.erase(threadID);
@ -1911,7 +1910,7 @@ BPoseView::CreatePoses(Model** models, PoseInfo* poseInfoArray, int32 count,
viewBounds.InsetBy(-20, -20); viewBounds.InsetBy(-20, -20);
} }
if (forceDraw && viewBounds.Intersects(poseBounds)) if (forceDraw && viewBounds.Intersects(poseBounds))
Invalidate(poseBounds); Invalidate(poseBounds);
// if this is the first item then we set extent here // if this is the first item then we set extent here

View File

@ -350,7 +350,7 @@ BQueryPoseView::InitDirentIterator(const entry_ref* ref)
#endif #endif
// bump up to microseconds // bump up to microseconds
delta *= 1000000; delta *= 1000000;
TTracker* tracker = dynamic_cast<TTracker*>(be_app); TTracker* tracker = dynamic_cast<TTracker*>(be_app);
ThrowOnAssert(tracker != NULL); ThrowOnAssert(tracker != NULL);