aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-04-12 13:01:48 +0200
committerdec05eba <dec05eba@protonmail.com>2021-04-12 13:01:48 +0200
commite904091c8f64f60a5abbb6434cf3506aea59a2b3 (patch)
tree339b38251dc868ca93303560c90c5dfdf284720d
parentdadc8f8b5b48d52b950886af9d670a8b23d0f895 (diff)
Use chapter names as is for mangatown
-rw-r--r--src/plugins/Mangatown.cpp6
1 files changed, 0 insertions, 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<MangatownChaptersPage>(program, title, url), create_search_bar("Search...", SEARCH_DELAY_FILTER)});