diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-05-04 12:37:22 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-05-04 12:37:22 +0200 |
commit | b6b4db460ce5bfdfe7c4e46a89ef370b6cc31752 (patch) | |
tree | f62748bf220984eba23705a945335fb9506a543d /src/plugins | |
parent | ab5065e541cb6f84b11062892ce25f033c7fa82d (diff) |
Use x11 on wayland, to make mpv embedding possible
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/Manganelo.cpp | 2 | ||||
-rw-r--r-- | src/plugins/Youtube.cpp | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/Manganelo.cpp b/src/plugins/Manganelo.cpp index e6bdfc0..960caaf 100644 --- a/src/plugins/Manganelo.cpp +++ b/src/plugins/Manganelo.cpp @@ -200,7 +200,7 @@ namespace QuickMedia { const char *href = quickmedia_html_node_get_attribute_value(node, "href"); const char *title = quickmedia_html_node_get_attribute_value(node, "title"); if(href && title && strstr(href, "/manga/")) { - auto body_item = BodyItem::create(title); + auto body_item = BodyItem::create(strip(title)); body_item->url = strip(href); item_data->push_back(std::move(body_item)); } diff --git a/src/plugins/Youtube.cpp b/src/plugins/Youtube.cpp index 6149b84..cbe6b81 100644 --- a/src/plugins/Youtube.cpp +++ b/src/plugins/Youtube.cpp @@ -241,10 +241,6 @@ namespace QuickMedia { if(!desc.empty()) desc += " • "; desc += video_count.value(); - if(strcmp(video_count.value().c_str(), "1") == 0) - desc += " video"; - else - desc += " videos"; } if(description) { if(!desc.empty()) |