diff options
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()) { |
