aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-10-28 17:26:35 +0200
committerdec05eba <dec05eba@protonmail.com>2023-10-28 17:26:35 +0200
commit10ecf0857b25ff2542a38015ecbe58462510efc1 (patch)
treea594c455bf24a53519371a2403ff2d05f0c0b2d9 /src/plugins
parentf7653309817d9f6be208628e9809d894417570a6 (diff)
Remove unecessary youtube custom redirect
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/LocalAnime.cpp4
1 files changed, 2 insertions, 2 deletions
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<LocalAnime>(item)) {
const LocalAnime &anime = std::get<LocalAnime>(item);
- return anime.name.c_str();
+ return anime.name;
} else if(std::holds_alternative<LocalAnimeSeason>(item)) {
const LocalAnimeSeason &season = std::get<LocalAnimeSeason>(item);
- return season.name.c_str();
+ return season.name;
} else if(std::holds_alternative<LocalAnimeEpisode>(item)) {
const LocalAnimeEpisode &episode = std::get<LocalAnimeEpisode>(item);
return episode.path.filename();