diff options
| author | Peter Penz <[email protected]> | 2009-06-20 11:56:14 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-06-20 11:56:14 +0000 |
| commit | 28614144f75916af268a9e3e60407d09af51e8cb (patch) | |
| tree | c07ab3e795e5997629ab325c7a414f7aec599bb0 /src | |
| parent | 0a1048a445616b9c1347e2ed2fd15ed0f45e09df (diff) | |
SVN_SILENT: minor coding style fixes
svn path=/trunk/KDE/kdebase/apps/; revision=984194
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinmodel.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/dolphinmodel.cpp b/src/dolphinmodel.cpp index e57aa90d8..2808736ee 100644 --- a/src/dolphinmodel.cpp +++ b/src/dolphinmodel.cpp @@ -314,7 +314,7 @@ QVariant DolphinModel::displayRoleData(const QModelIndex& index) const retString = i18nc("@title:group Files and folders by permissions", "(User: %1) (Group: %2) (Others: %3)", user, group, others); break; - } + } case KDirModel::Owner: retString = item.user(); @@ -333,7 +333,7 @@ QVariant DolphinModel::displayRoleData(const QModelIndex& index) const const quint32 rating = ratingForIndex(index); retString = QString::number(rating); break; - } + } case DolphinModel::Tags: { retString = tagsForIndex(index); @@ -410,10 +410,11 @@ QVariant DolphinModel::sortRoleData(const QModelIndex& index) const break; case KDirModel::Type: - if (item.isDir()) + if (item.isDir()) { retVariant.clear(); // when sorting we want folders to be placed first - else + } else { retVariant = item.mimeComment(); + } break; #ifdef HAVE_NEPOMUK |
