diff options
| author | Laurent Montel <[email protected]> | 2022-05-11 08:17:35 +0200 |
|---|---|---|
| committer | Laurent Montel <[email protected]> | 2022-05-11 08:18:02 +0200 |
| commit | 6a727b1a7d3fb2db91456bbb3ff7fba6e7760353 (patch) | |
| tree | 33c47df8dfdd84fbd074514ea7ec530b472d85c4 /src/views/tooltips | |
| parent | 421410513dca779e23f4a018dc39e96447634e45 (diff) | |
Port to QStringView
Diffstat (limited to 'src/views/tooltips')
| -rw-r--r-- | src/views/tooltips/dolphinfilemetadatawidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/tooltips/dolphinfilemetadatawidget.cpp b/src/views/tooltips/dolphinfilemetadatawidget.cpp index e914593fb..01877e4ee 100644 --- a/src/views/tooltips/dolphinfilemetadatawidget.cpp +++ b/src/views/tooltips/dolphinfilemetadatawidget.cpp @@ -113,7 +113,7 @@ void DolphinFileMetaDataWidget::setName(const QString& name) QTextLine line = textLayout.createLine(); while (line.isValid()) { line.setLineWidth(m_name->maximumWidth()); - wrappedText += processedName.midRef(line.textStart(), line.textLength()); + wrappedText += QStringView(processedName).mid(line.textStart(), line.textLength()); line = textLayout.createLine(); if (line.isValid()) { |
