diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-22 22:22:29 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-22 22:22:29 +0200 |
commit | 5d0979480ff50390b3883795ec2093e0d3d6193b (patch) | |
tree | 34a5fc5d18cb2d9cc87c01e6eb2eb40e0f3d5050 /c/episodelistview.cpp | |
parent | 8566655b85f0a4e515d57f6686636db516116f95 (diff) | |
download | EpisodeBrowser-5d0979480ff50390b3883795ec2093e0d3d6193b.tar.gz |
Open episodes without Prolog.
Diffstat (limited to 'c/episodelistview.cpp')
-rw-r--r-- | c/episodelistview.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/c/episodelistview.cpp b/c/episodelistview.cpp index 6caff99..14aa192 100644 --- a/c/episodelistview.cpp +++ b/c/episodelistview.cpp @@ -7,6 +7,7 @@ #include "data.h" #include "datalistview.h" #include "episodelistview.h" +#include "ext.h" #include "listview.h" #include "pl.h" #include "util.h" @@ -68,25 +69,20 @@ void EpisodeListView::HandleContextMenu(const WORD command) /* Process other commands. */ switch (command) { case IDM_WATCH_LOCALLY: - if (!Pl("local_episode","open_episode_locally",lvi.lParam)) + if(!OpenLocally(lvi.lParam)) cNotFound++; break; case IDM_WATCH_ONLINE: - Pl("local_episode","open_episode_online",lvi.lParam); + OpenOnline(lvi.lParam); break; case IDM_TOGGLE: e.bWatched = !e.bWatched; break; - case IDM_FORGET: - Pl("track_episodes","forget_episode",lvi.lParam); - Pl("track_episodes","update_tracked_episodes"); - break; - case IDM_WIKI: - Pl("episode_data","open_episode_wiki",lvi.lParam); + OpenWiki(lvi.lParam); break; } } |