diff options
| author | Elvis Angelaccio <[email protected]> | 2019-05-12 13:09:39 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2019-05-12 13:12:01 +0200 |
| commit | 863112002c00878c1722f4a12c178212c998e3f4 (patch) | |
| tree | f249ecd530f1965e0ed982727b05d88d11c92487 /src/kitemviews | |
| parent | d7555d8e11311c16f6dadc14abd9b3fb9a03a085 (diff) | |
Fix indentation
GIT_SILENT
Diffstat (limited to 'src/kitemviews')
| -rw-r--r-- | src/kitemviews/kfileitemmodel.cpp | 6 | ||||
| -rw-r--r-- | src/kitemviews/kstandarditemlistwidget.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/kitemviews/kfileitemmodel.cpp b/src/kitemviews/kfileitemmodel.cpp index 42d8986fc..8145a00f1 100644 --- a/src/kitemviews/kfileitemmodel.cpp +++ b/src/kitemviews/kfileitemmodel.cpp @@ -304,9 +304,9 @@ QString KFileItemModel::roleDescription(const QByteArray& role) const int count = 0; const RoleInfoMap* map = rolesInfoMap(count); for (int i = 0; i < count; ++i) { - if (!map[i].roleTranslation) { - continue; - } + if (!map[i].roleTranslation) { + continue; + } description.insert(map[i].role, i18nc(map[i].roleTranslationContext, map[i].roleTranslation)); } } diff --git a/src/kitemviews/kstandarditemlistwidget.cpp b/src/kitemviews/kstandarditemlistwidget.cpp index f56f68ac5..15c01726f 100644 --- a/src/kitemviews/kstandarditemlistwidget.cpp +++ b/src/kitemviews/kstandarditemlistwidget.cpp @@ -1225,7 +1225,7 @@ void KStandardItemListWidget::updateIconsLayoutTextCache() textInfo->staticText.setText(elidedText); requiredWidth = m_customizedFontMetrics.width(elidedText); } else if (role == "rating") { - // Use the width of the rating pixmap, because the rating text is empty. + // Use the width of the rating pixmap, because the rating text is empty. requiredWidth = m_rating.width(); } } |
