diff src/gui/dialog/settings/services.cpp @ 15:cde8f67a7c7d

*: update, megacommit :)
author Paper <mrpapersonic@gmail.com>
date Tue, 19 Sep 2023 22:36:08 -0400
parents fc1bf97c528b
children 619cbd6e69f9
line wrap: on
line diff
--- a/src/gui/dialog/settings/services.cpp	Tue Sep 19 16:33:07 2023 -0400
+++ b/src/gui/dialog/settings/services.cpp	Tue Sep 19 22:36:08 2023 -0400
@@ -19,11 +19,11 @@
 	QComboBox* sync_combo_box = new QComboBox(sync_group_box);
 	sync_combo_box->addItem(tr("AniList"));
 	connect(sync_combo_box, QOverload<int>::of(&QComboBox::currentIndexChanged), this,
-			[this](int index) { service = static_cast<Anime::Services>(index + 1); });
+	        [this](int index) { service = static_cast<Anime::Services>(index + 1); });
 	sync_combo_box->setCurrentIndex(static_cast<int>(service) - 1);
 
 	QLabel* sync_note_label =
-		new QLabel(tr("Note: Minori is unable to synchronize multiple services at the same time."), sync_group_box);
+	    new QLabel(tr("Note: Minori is unable to synchronize multiple services at the same time."), sync_group_box);
 
 	QVBoxLayout* sync_layout = new QVBoxLayout;
 	sync_layout->addWidget(sync_combo_box_label);
@@ -51,7 +51,7 @@
 	QWidget* auth_widget = new QWidget(group_box);
 	QLineEdit* username_entry = new QLineEdit(username, auth_widget);
 	connect(username_entry, &QLineEdit::editingFinished, this,
-			[this, username_entry] { username = username_entry->text(); });
+	        [this, username_entry] { username = username_entry->text(); });
 
 	QPushButton* auth_button = new QPushButton(auth_widget);
 	connect(auth_button, &QPushButton::clicked, this, [] { Services::AniList::AuthorizeUser(); });