diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2009-03-20 16:02:14 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2009-03-20 16:02:14 +0100 |
commit | 2fc4e9001522808484666c98bda25987dfccc91b (patch) | |
tree | 6fae0f526c8c10ba8a17e88d52c0c2d2f5382e8c /src/plugins/perforce | |
parent | b789ffa91b89cb88e1619cffd8307ce06848eac9 (diff) |
Fix wrapping of commit messages
Remove trimmedDescription(), always trim. Extract trimmed text using the
text cursor
Reviewed-by: Thorbjorn Lindeijer <thorbjorn.lindeijer@nokia.com>
Diffstat (limited to 'src/plugins/perforce')
-rw-r--r-- | src/plugins/perforce/perforcesubmiteditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/perforce/perforcesubmiteditor.cpp b/src/plugins/perforce/perforcesubmiteditor.cpp index 98a9a511ac..dd3b53d4af 100644 --- a/src/plugins/perforce/perforcesubmiteditor.cpp +++ b/src/plugins/perforce/perforcesubmiteditor.cpp @@ -152,7 +152,7 @@ void PerforceSubmitEditor::updateEntries() const QString newLine = QString(QLatin1Char('\n')); const QString tab = QString(QLatin1Char('\t')); - QStringList lines = submitEditorWidget()->trimmedDescriptionText().split(newLine); + QStringList lines = submitEditorWidget()->descriptionText().split(newLine); while (lines.last().isEmpty()) lines.removeLast(); // Description |