From 9126417eabb24f09ea8315bdf5e5728d59810583 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 15 Jun 2021 20:29:14 +0200 Subject: Make mangadex and mangakatana lists instead of grid, to fit descriptions --- src/plugins/Mangadex.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins') diff --git a/src/plugins/Mangadex.cpp b/src/plugins/Mangadex.cpp index 0178c1e..3953215 100644 --- a/src/plugins/Mangadex.cpp +++ b/src/plugins/Mangadex.cpp @@ -86,6 +86,9 @@ namespace QuickMedia { } PluginResult MangadexSearchPage::get_cover_urls(BodyItems &body_items) { + if(body_items.empty()) + return PluginResult::OK; + std::string url = "https://api.mangadex.org/cover?"; for(size_t i = 0; i < body_items.size(); ++i) { if(i > 0) -- cgit v1.2.3