aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/MangaCombined.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/MangaCombined.cpp')
-rw-r--r--src/plugins/MangaCombined.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/MangaCombined.cpp b/src/plugins/MangaCombined.cpp
index 5440871..c7fdd13 100644
--- a/src/plugins/MangaCombined.cpp
+++ b/src/plugins/MangaCombined.cpp
@@ -56,8 +56,8 @@ namespace QuickMedia {
if(num_finished_plugins == search_threads.size()) {
for(auto &f : plugin_finished_state) {
if(f.second && !f.second->empty()) {
- auto title_item = BodyItem::create("");
- title_item->set_author("------------------------ " + f.first->title + " ------------------------");
+ auto title_item = BodyItem::create("", false);
+ title_item->set_author(f.first->title);
result_items.push_back(std::move(title_item));
result_items.insert(result_items.end(), std::move_iterator(f.second->begin()), std::move_iterator(f.second->end()));
}
@@ -72,14 +72,14 @@ namespace QuickMedia {
for(auto &f : plugin_finished_state) {
if(f.second) {
if(!f.second->empty()) {
- auto title_item = BodyItem::create("");
- title_item->set_author("------------------------ " + f.first->title + " ------------------------");
+ auto title_item = BodyItem::create("", false);
+ title_item->set_author(f.first->title);
result_items.push_back(std::move(title_item));
result_items.insert(result_items.end(), std::move_iterator(f.second->begin()), std::move_iterator(f.second->end()));
}
} else {
- auto title_item = BodyItem::create("");
- title_item->set_author("------------------------ " + f.first->title + " timed out ------------------------");
+ auto title_item = BodyItem::create("", false);
+ title_item->set_author(f.first->title + " timed out ");
result_items.push_back(std::move(title_item));
}
}