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(
nodeModel->MimeType(), 0, true);
switch (supportsMimeType) {
switch (supportsMimeType) {
case kDoesNotSupportType:
return kNoRelation;

View File

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

View File

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

View File

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