Mercurial > minori
comparison src/gui/dialog/settings/services.cpp @ 74:5ccb99bfa605
fix regressions on macOS
for now, we're setting our font sizes using setPixelSize, and later I'll
use a macro or something to make the point size constant across platforms
also anilist user id stuff stopped working :) that's fixed now
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 03 Oct 2023 06:12:43 -0400 |
parents | 2417121d894e |
children | 3364fadc8a36 |
comparison
equal
deleted
inserted
replaced
73:f1fc8b04bc63 | 74:5ccb99bfa605 |
---|---|
83 full_layout->addStretch(); | 83 full_layout->addStretch(); |
84 return result; | 84 return result; |
85 } | 85 } |
86 | 86 |
87 void SettingsPageServices::SaveInfo() { | 87 void SettingsPageServices::SaveInfo() { |
88 session.config.anilist.username = Strings::ToUtf8String(username); | 88 // session.config.anilist.username = |
89 Strings::ToUtf8String(username); | |
89 session.config.service = service; | 90 session.config.service = service; |
90 } | 91 } |
91 | 92 |
92 SettingsPageServices::SettingsPageServices(QWidget* parent) : SettingsPage(parent, tr("Services")) { | 93 SettingsPageServices::SettingsPageServices(QWidget* parent) : SettingsPage(parent, tr("Services")) { |
93 username = QString::fromUtf8(session.config.anilist.username.c_str()); | 94 username = QString::fromUtf8(session.config.anilist.username.c_str()); |