Removed one liner function that was only called from one place.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37166 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7436ac49e5
commit
6277669654
@ -378,13 +378,6 @@ ShowImageView::_UpdateStatusText()
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
ShowImageView::_AddToRecentDocuments()
|
||||
{
|
||||
be_roster->AddToRecentDocuments(&fCurrentRef, kApplicationSignature);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
ShowImageView::_DeleteScaler()
|
||||
{
|
||||
@ -549,7 +542,7 @@ ShowImageView::SetImage(const entry_ref *ref)
|
||||
fCaption << ", " << fImageType;
|
||||
fZoom = 1.0;
|
||||
|
||||
_AddToRecentDocuments();
|
||||
be_roster->AddToRecentDocuments(&fCurrentRef, kApplicationSignature);
|
||||
|
||||
_Notify();
|
||||
return B_OK;
|
||||
|
@ -156,7 +156,6 @@ private:
|
||||
void _SendMessageToWindow(uint32 code);
|
||||
void _Notify();
|
||||
void _UpdateStatusText();
|
||||
void _AddToRecentDocuments();
|
||||
void _AddWhiteRect(BRect& rect);
|
||||
void _GetMergeRects(BBitmap* merge,
|
||||
BRect selection, BRect& srcRect,
|
||||
|
Loading…
Reference in New Issue
Block a user