diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-06-15 20:29:14 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-06-15 20:29:14 +0200 |
commit | 9126417eabb24f09ea8315bdf5e5728d59810583 (patch) | |
tree | 0eae5b9dc56600df284abb420113c5d892c298e8 /src/QuickMedia.cpp | |
parent | dccfb471ff7017f9ce3a6ed264a684e4fbc383e4 (diff) |
Make mangadex and mangakatana lists instead of grid, to fit descriptions
Diffstat (limited to 'src/QuickMedia.cpp')
-rw-r--r-- | src/QuickMedia.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index ff792e4..9defcb7 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -1103,12 +1103,12 @@ namespace QuickMedia { } else if(strcmp(plugin_name, "mangakatana") == 0) { auto search_page = std::make_unique<MangaGenericSearchPage>(this, plugin_name, "https://mangakatana.com/", false); add_mangakatana_handlers(search_page.get()); - tabs.push_back(Tab{create_body(false, true), std::move(search_page), create_search_bar("Search...", 400)}); + tabs.push_back(Tab{create_body(), std::move(search_page), create_search_bar("Search...", 400)}); auto history_page = std::make_unique<HistoryPage>(this, tabs.front().page.get(), HistoryType::MANGA); tabs.push_back(Tab{create_body(), std::move(history_page), create_search_bar("Search...", SEARCH_DELAY_FILTER)}); } else if(strcmp(plugin_name, "mangadex") == 0) { - tabs.push_back(Tab{create_body(false, true), std::make_unique<MangadexSearchPage>(this), create_search_bar("Search...", 400)}); + tabs.push_back(Tab{create_body(), std::make_unique<MangadexSearchPage>(this), create_search_bar("Search...", 400)}); upgrade_legacy_mangadex_ids(this, tabs.back().page.get()); auto history_page = std::make_unique<HistoryPage>(this, tabs.front().page.get(), HistoryType::MANGA); |