Mercurial > minori
comparison src/gui/dialog/settings/services.cpp @ 63:3d2decf093bb
*: fix many clang warnings
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Sun, 01 Oct 2023 06:39:47 -0400 |
| parents | 619cbd6e69f9 |
| children | 26721c28bf22 |
comparison
equal
deleted
inserted
replaced
| 62:4c6dd5999b39 | 63:3d2decf093bb |
|---|---|
| 45 | 45 |
| 46 QGroupBox* group_box = new QGroupBox(tr("Account"), result); | 46 QGroupBox* group_box = new QGroupBox(tr("Account"), result); |
| 47 group_box->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Maximum); | 47 group_box->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Maximum); |
| 48 | 48 |
| 49 /* this is outdated! usernames are retrieved through a request to AniList now. | 49 /* this is outdated! usernames are retrieved through a request to AniList now. |
| 50 although that's a bit... erm... cancerous, maybe this method IS useful. IDK */ | 50 although that's a bit... erm... cancerous, maybe this method IS useful. IDK */ |
| 51 QLabel* username_entry_label = new QLabel(tr("Username: (not your email address)"), group_box); | 51 QLabel* username_entry_label = new QLabel(tr("Username: (not your email address)"), group_box); |
| 52 | 52 |
| 53 QWidget* auth_widget = new QWidget(group_box); | 53 QWidget* auth_widget = new QWidget(group_box); |
| 54 QLineEdit* username_entry = new QLineEdit(username, auth_widget); | 54 QLineEdit* username_entry = new QLineEdit(username, auth_widget); |
| 55 connect(username_entry, &QLineEdit::editingFinished, this, | 55 connect(username_entry, &QLineEdit::editingFinished, this, |
