Mercurial > minori
diff src/services/services.cc @ 112:80f49f623d30
locale: allow switching locales without restarting
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 06 Nov 2023 13:41:30 -0500 |
parents | 9b2b41f83a5e |
children | c130f47f6f48 |
line wrap: on
line diff
--- a/src/services/services.cc Mon Nov 06 02:03:55 2023 -0500 +++ b/src/services/services.cc Mon Nov 06 13:41:30 2023 -0500 @@ -9,19 +9,7 @@ void Synchronize() { switch (session.config.service) { case Anime::Services::ANILIST: AniList::GetAnimeList(); break; - default: { - QMessageBox msg; - msg.setInformativeText("It seems you haven't yet selected a service to use."); - msg.setText("Would you like to select one now?"); - msg.setStandardButtons(QMessageBox::Yes | QMessageBox::No); - msg.setDefaultButton(QMessageBox::Yes); - int ret = msg.exec(); - if (ret == QMessageBox::Yes) { - SettingsDialog dialog; - dialog.exec(); - } - break; - } + default: break; } }