Mercurial > minori
diff src/services/services.cpp @ 63:3d2decf093bb
*: fix many clang warnings
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 01 Oct 2023 06:39:47 -0400 |
parents | 0c4138de2ea7 |
children |
line wrap: on
line diff
--- a/src/services/services.cpp Sun Oct 01 06:16:06 2023 -0400 +++ b/src/services/services.cpp Sun Oct 01 06:39:47 2023 -0400 @@ -1,7 +1,7 @@ #include "services/services.h" #include "core/session.h" +#include "gui/dialog/settings.h" #include "services/anilist.h" -#include "gui/dialog/settings.h" #include <QMessageBox> namespace Services { @@ -34,10 +34,8 @@ bool Authorize() { switch (session.config.service) { - case Anime::Services::ANILIST: - return AniList::AuthorizeUser(); - default: - return true; + case Anime::Services::ANILIST: return AniList::AuthorizeUser(); + default: return true; } }