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:
@@ -378,13 +378,6 @@ ShowImageView::_UpdateStatusText()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
|
||||||
ShowImageView::_AddToRecentDocuments()
|
|
||||||
{
|
|
||||||
be_roster->AddToRecentDocuments(&fCurrentRef, kApplicationSignature);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
ShowImageView::_DeleteScaler()
|
ShowImageView::_DeleteScaler()
|
||||||
{
|
{
|
||||||
@@ -549,7 +542,7 @@ ShowImageView::SetImage(const entry_ref *ref)
|
|||||||
fCaption << ", " << fImageType;
|
fCaption << ", " << fImageType;
|
||||||
fZoom = 1.0;
|
fZoom = 1.0;
|
||||||
|
|
||||||
_AddToRecentDocuments();
|
be_roster->AddToRecentDocuments(&fCurrentRef, kApplicationSignature);
|
||||||
|
|
||||||
_Notify();
|
_Notify();
|
||||||
return B_OK;
|
return B_OK;
|
||||||
|
|||||||
@@ -156,7 +156,6 @@ private:
|
|||||||
void _SendMessageToWindow(uint32 code);
|
void _SendMessageToWindow(uint32 code);
|
||||||
void _Notify();
|
void _Notify();
|
||||||
void _UpdateStatusText();
|
void _UpdateStatusText();
|
||||||
void _AddToRecentDocuments();
|
|
||||||
void _AddWhiteRect(BRect& rect);
|
void _AddWhiteRect(BRect& rect);
|
||||||
void _GetMergeRects(BBitmap* merge,
|
void _GetMergeRects(BBitmap* merge,
|
||||||
BRect selection, BRect& srcRect,
|
BRect selection, BRect& srcRect,
|
||||||
|
|||||||
Reference in New Issue
Block a user