[education/labplot] src/backend/statistics: format fix.

Alexander Semke <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 9319542ff31875fa39ecd2c3dcfafa5ea61cd4b5 by Alexander Semke.
Committed on 09/08/2026 at 16:47.
Pushed by asemke into branch 'master'.

format fix.

M  +4    -3    src/backend/statistics/HypothesisTest.cpp

https://invent.kde.org/education/labplot/-/commit/9319542ff31875fa39ecd2c3dcfafa5ea61cd4b5

diff --git a/src/backend/statistics/HypothesisTest.cpp b/src/backend/statistics/HypothesisTest.cpp
index 0cc5814252..cb3899be77 100644
--- a/src/backend/statistics/HypothesisTest.cpp
+++ b/src/backend/statistics/HypothesisTest.cpp
@@ -54,8 +54,10 @@ QString HypothesisTest::resultText() const {
 
 	// Convert HTML to plain text
 	// Replace headers
-	text.replace(QRegularExpression(QStringLiteral("<h1>(.*?)</h1>")), QStringLiteral("\\1\n") + QString(QStringLiteral("=")).repeated(40) + QStringLiteral("\n"));
-	text.replace(QRegularExpression(QStringLiteral("<h2>(.*?)</h2>")), QStringLiteral("\n\\1\n") + QString(QStringLiteral("-")).repeated(40) + QStringLiteral("\n"));
+	text.replace(QRegularExpression(QStringLiteral("<h1>(.*?)</h1>")),
+				 QStringLiteral("\\1\n") + QString(QStringLiteral("=")).repeated(40) + QStringLiteral("\n"));
+	text.replace(QRegularExpression(QStringLiteral("<h2>(.*?)</h2>")),
+				 QStringLiteral("\n\\1\n") + QString(QStringLiteral("-")).repeated(40) + QStringLiteral("\n"));
 
 	// Replace bold tags
 	text.replace(QStringLiteral("<b>"), QString());
@@ -91,7 +93,6 @@ QString HypothesisTest::resultText() const {
 	return text.trimmed();
 }
 
-
 void HypothesisTest::setDataColumns(const QVector<const AbstractColumn*>& cols) {
 	Q_D(HypothesisTest);
 	auto [min, max] = variableCount(d->test);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.