From 6fd66a9264731bd7ee6d7602675965021d929a4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 24 Aug 2022 15:17:08 +0200 Subject: Remove Prolog dependency. The only thing left to reimplement is the tracking of watched episodes in MPC-HC. --- c/episodelistview.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'c/episodelistview.cpp') diff --git a/c/episodelistview.cpp b/c/episodelistview.cpp index a76717a..72a8618 100644 --- a/c/episodelistview.cpp +++ b/c/episodelistview.cpp @@ -2,7 +2,6 @@ #include #include #include -#include #include "resource.h" #include "data.h" @@ -10,7 +9,6 @@ #include "episodelistview.h" #include "ext.h" #include "listview.h" -#include "pl.h" #include "util.h" #include "win.h" @@ -358,9 +356,6 @@ int CALLBACK EpisodeListView::SortProc(const LPARAM iItem1, const LPARAM iItem2, void EpisodeListView::Update() { - if (!Pl("episode_data","ensure_episode_data")) - return; - /* Save scrolling position. */ int iEpTop = 0; { @@ -371,9 +366,8 @@ void EpisodeListView::Update() /* Save selected episodes. */ int iItemMark; - static std::vector vEpSel; + std::vector vEpSel; { - vEpSel.clear(); LVITEM lvi = {LVIF_PARAM, -1}; while (FindNextItem(&lvi, LVNI_SELECTED)) vEpSel.push_back(lvi.lParam); -- cgit v1.2.3