aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-06-27 11:31:53 +0200
committerdec05eba <dec05eba@protonmail.com>2023-06-27 11:31:53 +0200
commitaf3eb2940c4d9df7567e6633d1238d9b105a2d11 (patch)
tree073a8f318893ff0a3cb776a3d228740ad3042c56 /src/plugins
parentaed308b9d68eda8a3d283d6b7d54a71c8ea77752 (diff)
Local anime: dont display resolution if resolution is unknown
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/LocalAnime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/LocalAnime.cpp b/src/plugins/LocalAnime.cpp
index a8cebab..5e4c1d7 100644
--- a/src/plugins/LocalAnime.cpp
+++ b/src/plugins/LocalAnime.cpp
@@ -436,7 +436,7 @@ namespace QuickMedia {
body_item->set_title_color(finished_watching_color);
std::string description;
- if(name_parts) {
+ if(name_parts && !name_parts->resolution.empty()) {
description += "Resolution: ";
description += name_parts->resolution;
description += '\n';