diff src/gui/dialog/settings/application.cc @ 400:2f4dc1580b84

anime_list: kind of properly display highlighted anime above others ...
author Paper <paper@tflc.us>
date Fri, 07 Nov 2025 15:40:56 -0500
parents 963047512d34
children
line wrap: on
line diff
--- a/src/gui/dialog/settings/application.cc	Fri Nov 07 15:28:22 2025 -0500
+++ b/src/gui/dialog/settings/application.cc	Fri Nov 07 15:40:56 2025 -0500
@@ -112,7 +112,8 @@
 		}
 
 		{
-			/* Hopefully I made this easy to read... */
+			/* Hopefully I made this easy to read...
+			 * TODO: Call into the anime list page and tell it to re-sort everything. */
 			QCheckBox *hl_above_anime_box =
 			    new QCheckBox(tr("Display highlighted anime above others"), appearance_group_box);
 			hl_above_anime_box->setCheckState(highlighted_anime_above_others ? Qt::Checked : Qt::Unchecked);
@@ -120,7 +121,7 @@
 			hl_above_anime_box->setContentsMargins(10, 0, 0, 0);
 
 			connect(hl_above_anime_box, &QCheckBox::stateChanged, this,
-			        [this](int state) { highlight_anime_if_available = !(state == Qt::Unchecked); });
+			        [this](int state) { highlighted_anime_above_others = !(state == Qt::Unchecked); });
 
 			{
 				/* This is here because the above checkbox actually depends on it to be checked. */