Merge remote-tracking branch 'origin/4.15'

Change-Id: I1d13f3543ab4bb17f0cbfe26bbea3f154f856ca6
This commit is contained in:
Eike Ziller
2021-04-20 10:42:55 +02:00
99 changed files with 1600 additions and 1265 deletions

View File

@@ -519,8 +519,10 @@ void SubmitEditorWidget::verifyDescription()
int secondLineLength = 0;
if (subjectLength >= 0) {
const int secondLineStart = subjectLength + 1;
secondLineLength = d->m_description.indexOf(newLine, secondLineStart)
- secondLineStart;
int secondLineEnd = d->m_description.indexOf(newLine, secondLineStart);
if (secondLineEnd == -1)
secondLineEnd = descriptionLength;
secondLineLength = secondLineEnd - secondLineStart;
} else {
subjectLength = descriptionLength;
}