From 5b059ce37838a11fa7786ee276cb6cce169c2098 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sun, 21 Aug 2011 10:20:15 +0000 Subject: [PATCH] Drop TODO since the commented code doesn't have any effect and nothing else seems to be missing either. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42655 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/preferences/locale/LanguageListView.cpp | 24 +-------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/src/preferences/locale/LanguageListView.cpp b/src/preferences/locale/LanguageListView.cpp index 81648eed5f..7c50c7e92d 100644 --- a/src/preferences/locale/LanguageListView.cpp +++ b/src/preferences/locale/LanguageListView.cpp @@ -353,30 +353,8 @@ LanguageListView::MouseMoved(BPoint where, uint32 transit, int32 index = FullListIndexOf(where); if (index < 0) index = FullListCountItems(); - if (fDropIndex != index) { + if (fDropIndex != index) fDropIndex = index; - if (fDropIndex >= 0) { -// TODO: find out what this was intended for (as it doesn't have any effect) -// int32 count = FullListCountItems(); -// if (fDropIndex == count) { -// BRect r; -// if (FullListItemAt(count - 1)) { -// r = ItemFrame(count - 1); -// r.top = r.bottom; -// r.bottom = r.top + 1.0; -// } else { -// r = Bounds(); -// r.bottom--; -// // compensate for scrollbars moved slightly -// // out of window -// } -// } else { -// BRect r = ItemFrame(fDropIndex); -// r.top--; -// r.bottom = r.top + 1.0; -// } - } - } break; } }