From 10ecf0857b25ff2542a38015ecbe58462510efc1 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 28 Oct 2023 17:26:35 +0200 Subject: Remove unecessary youtube custom redirect --- src/plugins/LocalAnime.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins') diff --git a/src/plugins/LocalAnime.cpp b/src/plugins/LocalAnime.cpp index e5c8e81..8ab9454 100644 --- a/src/plugins/LocalAnime.cpp +++ b/src/plugins/LocalAnime.cpp @@ -48,10 +48,10 @@ namespace QuickMedia { static std::string_view anime_item_get_filename(const LocalAnimeItem &item) { if(std::holds_alternative(item)) { const LocalAnime &anime = std::get(item); - return anime.name.c_str(); + return anime.name; } else if(std::holds_alternative(item)) { const LocalAnimeSeason &season = std::get(item); - return season.name.c_str(); + return season.name; } else if(std::holds_alternative(item)) { const LocalAnimeEpisode &episode = std::get(item); return episode.path.filename(); -- cgit v1.2.3