Mercurial > minori
diff src/gui/dialog/settings/services.cc @ 120:275da698697d
config: template-ify INI
now it's... slightly less ugly :')
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 08 Nov 2023 18:13:37 -0500 |
parents | 2004b41d4a59 |
children | ff0061e75f0f |
line wrap: on
line diff
--- a/src/gui/dialog/settings/services.cc Wed Nov 08 13:50:00 2023 -0500 +++ b/src/gui/dialog/settings/services.cc Wed Nov 08 18:13:37 2023 -0500 @@ -87,7 +87,7 @@ /* The actual auth button */ QPushButton* auth_button = new QPushButton(auth_widget); connect(auth_button, &QPushButton::clicked, this, [] { Services::AniList::AuthorizeUser(); }); - auth_button->setText(session.config.anilist.auth_token.empty() ? tr("Authorize...") : tr("Re-authorize...")); + auth_button->setText(session.config.auth.anilist.auth_token.empty() ? tr("Authorize...") : tr("Re-authorize...")); auth_layout->addWidget(auth_button); }