Skip to content
Browse files

MythVideo: Remove the code to toggle an item's browseability from the…

… menu.
  • Loading branch information...
1 parent be8deb0 commit 9860f1de9c9ed1a7c330014af0c053f0e98ba272 Robert McNamara committed Dec 8, 2010
Showing with 0 additions and 13 deletions.
  1. +0 −12 mythplugins/mythvideo/mythvideo/videodlg.cpp
  2. +0 −1 mythplugins/mythvideo/mythvideo/videodlg.h
View
12 mythplugins/mythvideo/mythvideo/videodlg.cpp
@@ -3559,18 +3559,6 @@ void VideoDialog::VideoAutoSearch(MythGenericTree *node)
}
}
-void VideoDialog::ToggleBrowseable()
-{
- VideoMetadata *metadata = GetMetadata(GetItemCurrent());
- if (metadata)
- {
- metadata->SetBrowse(!metadata->GetBrowse());
- metadata->UpdateDatabase();
-
- refreshData();
- }
-}
-
void VideoDialog::ToggleWatched()
{
VideoMetadata *metadata = GetMetadata(GetItemCurrent());
View
1 mythplugins/mythvideo/mythvideo/videodlg.h
@@ -97,7 +97,6 @@ class VideoDialog : public MythScreenType
bool automode = false);
void VideoAutoSearch(MythGenericTree *node = NULL);
void ResetMetadata();
- void ToggleBrowseable();
void ToggleWatched();
void ToggleProcess();
void RemoveVideo();

0 comments on commit 9860f1d

Please sign in to comment.
Something went wrong with that request. Please try again.