diff src/gui/pages/statistics.cc @ 291:9a88e1725fd2

*: refactor lots of stuff I forgot to put this into different commits, oops! anyway, it doesn't really matter *that* much since this is an unfinished hobby project anyway. once it starts getting stable commit history will be more important, but for now it's not that big of a deal
author Paper <paper@paper.us.eu.org>
date Sun, 12 May 2024 16:31:07 -0400
parents 862d0d8619f6
children b82841e76e79
line wrap: on
line diff
--- a/src/gui/pages/statistics.cc	Wed May 08 17:32:28 2024 -0400
+++ b/src/gui/pages/statistics.cc	Sun May 12 16:31:07 2024 -0400
@@ -141,7 +141,7 @@
 	ts << Strings::ToQString(TimeToDateString(TimeUnits::MINUTES, Anime::db.GetTotalPlannedAmount(), 60.0)) << '\n';
 	ts << Anime::db.GetAverageScore() << '\n';
 	ts << Anime::db.GetScoreDeviation();
-	_anime_list->GetParagraph()->SetText(string);
+	_anime_list->GetData()->setText(string);
 
 	_score_distribution_graph->Clear();
 	for (int i = 10; i <= 100; i += 10)
@@ -152,5 +152,5 @@
 	ts << session.GetRequests();
 	/* Application */
 	// UiUtils::SetPlainTextEditData(application_data, QString::number(session.uptime() / 1000));
-	_application->GetParagraph()->SetText(string);
+	_application->GetData()->setText(string);
 }