Fix warnings in charactermap
* no need to overload ScrollTo() with a non-related method - renamed local ScrollTo() to ScrollToBlock() git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38268 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3605272d0f
commit
7f2103fe25
@ -103,7 +103,7 @@ CharacterView::IsShowingBlock(int32 blockIndex) const
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
CharacterView::ScrollTo(int32 blockIndex)
|
CharacterView::ScrollToBlock(int32 blockIndex)
|
||||||
{
|
{
|
||||||
if (blockIndex < 0)
|
if (blockIndex < 0)
|
||||||
blockIndex = 0;
|
blockIndex = 0;
|
||||||
|
@ -30,7 +30,7 @@ public:
|
|||||||
|
|
||||||
bool IsShowingBlock(int32 blockIndex) const;
|
bool IsShowingBlock(int32 blockIndex) const;
|
||||||
|
|
||||||
void ScrollTo(int32 blockIndex);
|
void ScrollToBlock(int32 blockIndex);
|
||||||
|
|
||||||
static void UnicodeToUTF8(uint32 c, char* text,
|
static void UnicodeToUTF8(uint32 c, char* text,
|
||||||
size_t textSize);
|
size_t textSize);
|
||||||
|
@ -268,7 +268,7 @@ CharacterWindow::MessageReceived(BMessage* message)
|
|||||||
|
|
||||||
BlockListItem* item
|
BlockListItem* item
|
||||||
= static_cast<BlockListItem*>(fUnicodeBlockView->ItemAt(index));
|
= static_cast<BlockListItem*>(fUnicodeBlockView->ItemAt(index));
|
||||||
fCharacterView->ScrollTo(item->BlockIndex());
|
fCharacterView->ScrollToBlock(item->BlockIndex());
|
||||||
|
|
||||||
fFilterControl->MakeFocus();
|
fFilterControl->MakeFocus();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user