diff options
| author | Artur Puzio <[email protected]> | 2016-03-16 22:17:37 +0100 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2016-03-16 22:17:37 +0100 |
| commit | 5593c252e8d9638c86dcc2bb9edd394ea14f8ba1 (patch) | |
| tree | 486e7f04fa43758ab3011d75227e2d9791db4014 /src/views/tooltips | |
| parent | 59811f849ed47982f5cf73e052640bc9f250ad97 (diff) | |
[CLAZY] Fixed all level 1 and level 2 warnings with small exceptions
REVIEW: 126771
Diffstat (limited to 'src/views/tooltips')
| -rw-r--r-- | src/views/tooltips/filemetadatatooltip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/tooltips/filemetadatatooltip.cpp b/src/views/tooltips/filemetadatatooltip.cpp index 11b9ecd1d..8fbca290d 100644 --- a/src/views/tooltips/filemetadatatooltip.cpp +++ b/src/views/tooltips/filemetadatatooltip.cpp @@ -134,7 +134,7 @@ void FileMetaDataToolTip::setName(const QString& name) QTextLine line = textLayout.createLine(); while (line.isValid()) { line.setLineWidth(m_name->maximumWidth()); - wrappedText += processedName.mid(line.textStart(), line.textLength()); + wrappedText += processedName.midRef(line.textStart(), line.textLength()); line = textLayout.createLine(); if (line.isValid()) { |
