From af3eb2940c4d9df7567e6633d1238d9b105a2d11 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 27 Jun 2023 11:31:53 +0200 Subject: Local anime: dont display resolution if resolution is unknown --- src/plugins/LocalAnime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') 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'; -- cgit v1.2.3