Keep longestConductorInPotential's doc comment on the function

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ispyisail
2026-10-02 23:08:32 +13:00
parent eb2367e400
commit 371ea881e5
2 changed files with 8 additions and 8 deletions
+6 -6
View File
@@ -2305,12 +2305,6 @@ QPointF Conductor::movePointIntoPolygon(const QPointF &point, const QPainterPath
}
}
/**
@brief longestConductorInPotential
@param conductor : a conductor in the potential to search
@param all_diagram : true -> search in the whole project, false -> search only in the diagram of conductor
@return the longest conductor in the same potential of conductor
*/
namespace {
/// The two ends of @p conductor on the folio, smaller first, compared
/// by x then y.
@@ -2343,6 +2337,12 @@ namespace {
}
}
/**
@brief longestConductorInPotential
@param conductor : a conductor in the potential to search
@param all_diagram : true -> search in the whole project, false -> search only in the diagram of conductor
@return the longest conductor in the same potential of conductor
*/
Conductor * longestConductorInPotential(Conductor *conductor, bool all_diagram) {
Conductor *longest_conductor = conductor;
qreal longest_length = conductor->length();
+2 -2
View File
@@ -66,8 +66,8 @@ private slots:
QVERIFY(QFile::exists(QStringLiteral(QET_TEST_BINARY_PATH)));
}
// Before the fix about half the runs differed from the first, so
// eight agreeing runs leave a 1 in 128 chance of a false pass.
// Before the fix about half the runs differed from the first, so
// eight agreeing runs leave a 1 in 128 chance of a false pass.
void sameCarrierEveryRun()
{
const QString first = carrier(0);