diff options
| author | Peter Penz <[email protected]> | 2007-08-14 06:07:59 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-08-14 06:07:59 +0000 |
| commit | 466ffaabbf6566c1ae582f99403c63978be511fb (patch) | |
| tree | ee7f3401de5a6da48a50c8eaacc554f4beaf7c8a | |
| parent | 8c7a1e5f2534448a0ca8db1da17a310ebfb67483 (diff) | |
compile++
svn path=/trunk/KDE/kdebase/apps/; revision=699864
| -rw-r--r-- | src/dolphinsortfilterproxymodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphinsortfilterproxymodel.cpp b/src/dolphinsortfilterproxymodel.cpp index 6ce218562..903d34393 100644 --- a/src/dolphinsortfilterproxymodel.cpp +++ b/src/dolphinsortfilterproxymodel.cpp @@ -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) { |
