mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
compile++
svn path=/trunk/KDE/kdebase/apps/; revision=699864
This commit is contained in:
parent
8c7a1e5f25
commit
466ffaabbf
1 changed files with 2 additions and 2 deletions
|
@ -259,7 +259,7 @@ quint32 DolphinSortFilterProxyModel::ratingForIndex(const QModelIndex& index)
|
|||
const KDirModel* dirModel = static_cast<const KDirModel*>(index.model());
|
||||
KFileItem item = dirModel->itemForIndex(index);
|
||||
if (!item.isNull()) {
|
||||
const Nepomuk::Resource resource(item->url().url(), Nepomuk::NFO::File());
|
||||
const Nepomuk::Resource resource(item.url().url(), Nepomuk::NFO::File());
|
||||
rating = resource.rating();
|
||||
}
|
||||
return rating;
|
||||
|
@ -277,7 +277,7 @@ QString DolphinSortFilterProxyModel::tagsForIndex(const QModelIndex& index)
|
|||
const KDirModel* dirModel = static_cast<const KDirModel*>(index.model());
|
||||
KFileItem item = dirModel->itemForIndex(index);
|
||||
if (!item.isNull()) {
|
||||
const Nepomuk::Resource resource(item->url().url(), Nepomuk::NFO::File());
|
||||
const Nepomuk::Resource resource(item.url().url(), Nepomuk::NFO::File());
|
||||
const QList<Nepomuk::Tag> tags = resource.tags();
|
||||
QStringList stringList;
|
||||
foreach (const Nepomuk::Tag& tag, tags) {
|
||||
|
|
Loading…
Reference in a new issue