diff --git a/src/apps/showimage/ShowImageView.cpp b/src/apps/showimage/ShowImageView.cpp index e5444e2d2c..a60c2252e2 100644 --- a/src/apps/showimage/ShowImageView.cpp +++ b/src/apps/showimage/ShowImageView.cpp @@ -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; diff --git a/src/apps/showimage/ShowImageView.h b/src/apps/showimage/ShowImageView.h index 02fab205a0..da80187ceb 100644 --- a/src/apps/showimage/ShowImageView.h +++ b/src/apps/showimage/ShowImageView.h @@ -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,