Mercurial > minori
diff src/gui/pages/anime_list.cpp @ 63:3d2decf093bb
*: fix many clang warnings
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 01 Oct 2023 06:39:47 -0400 |
parents | 4c6dd5999b39 |
children | fe719c109dbc |
line wrap: on
line diff
--- a/src/gui/pages/anime_list.cpp Sun Oct 01 06:16:06 2023 -0400 +++ b/src/gui/pages/anime_list.cpp Sun Oct 01 06:39:47 2023 -0400 @@ -315,10 +315,13 @@ return; } - InformationDialog* dialog = new InformationDialog(*anime, [this, anime] { - Services::UpdateAnimeEntry(anime->GetId()); - Refresh(); - }, this); + InformationDialog* dialog = new InformationDialog( + *anime, + [this, anime] { + Services::UpdateAnimeEntry(anime->GetId()); + Refresh(); + }, + this); dialog->show(); dialog->raise(); @@ -340,10 +343,13 @@ Anime::Anime* anime = ((AnimeListWidgetModel*)sort_models[tab_bar->currentIndex()]->sourceModel())->GetAnimeFromIndex(index); - InformationDialog* dialog = new InformationDialog(*anime, [this, anime] { - Services::UpdateAnimeEntry(anime->GetId()); - Refresh(); - }, this); + InformationDialog* dialog = new InformationDialog( + *anime, + [this, anime] { + Services::UpdateAnimeEntry(anime->GetId()); + Refresh(); + }, + this); dialog->show(); dialog->raise();