From e904091c8f64f60a5abbb6434cf3506aea59a2b3 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 12 Apr 2021 13:01:48 +0200 Subject: Use chapter names as is for mangatown --- src/plugins/Mangatown.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/plugins/Mangatown.cpp b/src/plugins/Mangatown.cpp index 4e7046c..b8547ce 100644 --- a/src/plugins/Mangatown.cpp +++ b/src/plugins/Mangatown.cpp @@ -112,12 +112,6 @@ namespace QuickMedia { if(result != 0) return PluginResult::ERR; - int chapter_num = chapters_items.size(); - for(auto &body_item : chapters_items) { - body_item->set_title("Ch. " + std::to_string(chapter_num)); - chapter_num--; - } - auto body = create_body(); body->items = std::move(chapters_items); result_tabs.push_back(Tab{std::move(body), std::make_unique(program, title, url), create_search_bar("Search...", SEARCH_DELAY_FILTER)}); -- cgit v1.2.3